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
77d1d14f5e
commit
8a37b782f5
1 changed files with 5 additions and 1 deletions
|
|
@ -111,7 +111,11 @@ stages:
|
|||
}
|
||||
$applicationFolderName = $applicationFolder[0]
|
||||
|
||||
Rename-Item -Path "$env:BUILD_BINARIESDIRECTORY\Application Files\$applicationFolderName" -NewName "$env:BUILD_BINARIESDIRECTORY\Application Files\${{parameters.ApplicationName}}_$appVersionWithUnderscores" -Force
|
||||
$sourceFolder = "$env:BUILD_BINARIESDIRECTORY\Application Files\$applicationFolderName"
|
||||
$destFolder = "$env:BUILD_BINARIESDIRECTORY\Application Files\${{parameters.ApplicationName}}_$appVersionWithUnderscores"
|
||||
if ($sourceFolder -ne $destFolder) {
|
||||
Rename-Item -Path $sourceFolder -NewName $destFolder -Force
|
||||
}
|
||||
pwsh: true
|
||||
|
||||
- task: CopyFiles@2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue