mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
231d3a708e
commit
f4083c8555
1 changed files with 15 additions and 15 deletions
|
|
@ -164,20 +164,6 @@ stages:
|
||||||
configuration: '$(BuildConfiguration)'
|
configuration: '$(BuildConfiguration)'
|
||||||
clean: true
|
clean: true
|
||||||
|
|
||||||
- task: CopyFiles@2
|
|
||||||
displayName: Copy Artifact Files
|
|
||||||
inputs:
|
|
||||||
SourceFolder: '$(Build.SourcesDirectory)'
|
|
||||||
Contents: |
|
|
||||||
src/$(ApplicationName)/VersionFeed.xml
|
|
||||||
src/$(ApplicationName)/VersionFeedBeta.xml
|
|
||||||
src/$(ApplicationName)/Art/favicon.ico
|
|
||||||
src/$(ApplicationName)/Globalization/en-US/en-US.xaml
|
|
||||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
|
||||||
OverWrite: true
|
|
||||||
flattenFolders: true
|
|
||||||
preserveTimestamp: true
|
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Cleanup Published Files
|
displayName: Cleanup Published Files
|
||||||
env:
|
env:
|
||||||
|
|
@ -201,9 +187,23 @@ stages:
|
||||||
}
|
}
|
||||||
$applicationFolderName = $applicationFolder[0]
|
$applicationFolderName = $applicationFolder[0]
|
||||||
|
|
||||||
Rename-Item -Path "$env:BUILD_ARTIFACTSTAGINGDIRECTORY\Application Files\$applicationFolderName" -NewName "$env:BUILD_ARTIFACTSTAGINGDIRECTORY\Application Files\$($ApplicationName)_$appVersionWithUnderscores" -Force
|
Rename-Item -Path "$env:BUILD_ARTIFACTSTAGINGDIRECTORY\Application Files\$applicationFolderName" -NewName "$env:BUILD_ARTIFACTSTAGINGDIRECTORY\Application Files\$(ApplicationName)_$appVersionWithUnderscores" -Force
|
||||||
pwsh: true
|
pwsh: true
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Copy Artifact Files
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(Build.SourcesDirectory)'
|
||||||
|
Contents: |
|
||||||
|
src/$(ApplicationName)/VersionFeed.xml
|
||||||
|
src/$(ApplicationName)/VersionFeedBeta.xml
|
||||||
|
src/$(ApplicationName)/Art/favicon.ico
|
||||||
|
src/$(ApplicationName)/Globalization/en-US/en-US.xaml
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
flattenFolders: true
|
||||||
|
preserveTimestamp: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Create Latest Version Files
|
displayName: Create Latest Version Files
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue