mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
7c0d2f7f07
commit
74d28eb759
1 changed files with 2 additions and 2 deletions
|
|
@ -172,6 +172,8 @@ stages:
|
|||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
$appVersion = $env:BUILD_BUILDNUMBER
|
||||
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
|
||||
$fileExtension = '.application'
|
||||
|
||||
$applicationFiles = Get-ChildItem -Path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -Filter "*$fileExtension" -File -Name
|
||||
|
|
@ -183,8 +185,6 @@ stages:
|
|||
$applicationFolder = "$($applicationFileName)_$($appVersionWithUnderscores)"
|
||||
$applicationFolder
|
||||
|
||||
$appVersion = $env:BUILD_BUILDNUMBER
|
||||
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
|
||||
$sourcePath = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/Application Files/$applicationFolder"
|
||||
$zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.zip"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue