mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
change to Create Installer File task
This commit is contained in:
parent
88c1ecc854
commit
bf056fc7fd
1 changed files with 7 additions and 0 deletions
|
|
@ -174,6 +174,13 @@ stages:
|
|||
$installTextFileContent | Set-Content "$installTextFile" -Encoding Ascii -Force
|
||||
|
||||
& "$env:AGENTCAPABILITIES_USER_INNOSETUP" "$installScriptFile"
|
||||
|
||||
$sourceFile = "$env:BUILD_BINARIESDIRECTORY/${{parameters.ApplicationName}}_$appVersionShort.exe"
|
||||
$destFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/${{parameters.ApplicationName}}_$appVersionShort.exe"
|
||||
Copy-Item -Path $sourceFile -Destination $destFile -Force
|
||||
|
||||
$destFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.exe"
|
||||
Copy-Item -Path $sourceFile -Destination $destFile -Force
|
||||
pwsh: true
|
||||
|
||||
- task: PowerShell@2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue