mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +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:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
|
$appVersion = $env:BUILD_BUILDNUMBER
|
||||||
|
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
|
||||||
$fileExtension = '.application'
|
$fileExtension = '.application'
|
||||||
|
|
||||||
$applicationFiles = Get-ChildItem -Path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -Filter "*$fileExtension" -File -Name
|
$applicationFiles = Get-ChildItem -Path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -Filter "*$fileExtension" -File -Name
|
||||||
|
|
@ -183,8 +185,6 @@ stages:
|
||||||
$applicationFolder = "$($applicationFileName)_$($appVersionWithUnderscores)"
|
$applicationFolder = "$($applicationFileName)_$($appVersionWithUnderscores)"
|
||||||
$applicationFolder
|
$applicationFolder
|
||||||
|
|
||||||
$appVersion = $env:BUILD_BUILDNUMBER
|
|
||||||
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
|
|
||||||
$sourcePath = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/Application Files/$applicationFolder"
|
$sourcePath = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/Application Files/$applicationFolder"
|
||||||
$zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.zip"
|
$zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.zip"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue