Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 29d72b3

Browse files
authored
Added build of the ZIP archive to the azure pipeline.
1 parent a63541e commit 29d72b3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.azure-pipelines/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,17 @@ stages:
8484
inputs:
8585
pathToPublish: '$(Build.ArtifactStagingDirectory)/build'
8686
artifactName: build
87+
88+
- pwsh: |
89+
New-Item '$(Build.ArtifactStagingDirectory)/release' -Type Directory
90+
Compress-Archive -LiteralPath '$(Build.ArtifactStagingDirectory)/build' -DestinationPath '$(Build.ArtifactStagingDirectory)/release/reskit-$(APP_VERSION).zip'
91+
displayName: Create ZIP Release Archive
92+
93+
- task: PublishBuildArtifacts@1
94+
displayName: Publish Release Artifacts
95+
inputs:
96+
pathToPublish: '$(Build.ArtifactStagingDirectory)/release'
97+
artifactName: release
8798

8899
- stage: postbuild
89100
displayName: 'Post Build Checks'

0 commit comments

Comments
 (0)