mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file changes
This commit is contained in:
parent
fad6853fa8
commit
342eecbb83
1 changed files with 2 additions and 4 deletions
|
|
@ -109,11 +109,9 @@ stages:
|
|||
script: |
|
||||
$appVersion = $env:BUILD_BUILDNUMBER
|
||||
$appVersionShort = $appVersion.Substring(0, $appVersion.LastIndexOf('.'))
|
||||
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
|
||||
$applicationFolderName = "${{parameters.ApplicationName}}_$($appVersionWithUnderscores)"
|
||||
|
||||
$sourcePath = "$env:BUILD_BINARIESDIRECTORY/Application Files/$applicationFolderName"
|
||||
$zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/${{parameters.ApplicationName}}_$($appVersionShort).zip"
|
||||
$sourcePath = "$env:BUILD_BINARIESDIRECTORY"
|
||||
$zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/ServerManager.${{parameters.ApplicationName}}_$($appVersionShort).zip"
|
||||
|
||||
Add-Type -Assembly System.IO.Compression.FileSystem
|
||||
$compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue