This commit is contained in:
Pietro Gagliardi 2019-04-06 19:28:33 -04:00
parent 988ca49e41
commit 0c410022bb
1 changed files with 9 additions and 9 deletions

View File

@ -8,15 +8,15 @@ parameters:
osHeader: ''
steps:
- script: |
set -x
pushd build/meson-out
cp ../../ui.h ../../${{ parameters.osHeader }} .
tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.tgz ${{ parameters.libfiles }} ui.h ${{ parameters.osHeader}}
tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.tgz $(releaseExamples)
rm ui.h ${{ parameters.osHeader }}
popd
displayName: 'Create Artifacts'
- script: |
set -x
pushd build/meson-out
cp ../../ui.h ../../${{ parameters.osHeader }} .
tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.tgz ${{ parameters.libfiles }} ui.h ${{ parameters.osHeader}}
tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.tgz $(releaseExamples)
rm ui.h ${{ parameters.osHeader }}
popd
displayName: 'Create Artifacts'
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)