Oops again

This commit is contained in:
Pietro Gagliardi 2019-04-06 20:45:14 -04:00
parent c1a0e2e3b6
commit 08096e13a4
1 changed files with 3 additions and 3 deletions

View File

@ -11,11 +11,11 @@ parameters:
steps:
- powershell: |
echo $PSVersionTable
Set-PSDebug
Set-PSDebug -Trace 2
pushd build\meson-out
Copy-Item @("..\..\ui.h","..\..\${{ parameters.osHeader }}") -Destination .
Compress-Archive $(Build.ArtifactStagingDirectory)\libui-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.toolchain }}-${{ parameters.libtype }}.zip -Path @("${{ parameters.libfiles }}".Split(" ") + @("ui.h","${{ parameters.osHeader}}"))
Compress-Archive -Destination $(Build.ArtifactStagingDirectory)\examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.zip -Path @("$(releaseExamples)".Split(" ") | % {$_ + ".exe"})
echo Compress-Archive `-Destination $(Build.ArtifactStagingDirectory)\libui-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.toolchain }}-${{ parameters.libtype }}.zip `-Path @("${{ parameters.libfiles }}".Split(" ") + @("ui.h","${{ parameters.osHeader}}"))
echo Compress-Archive `-Destination $(Build.ArtifactStagingDirectory)\examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.zip `-Path @("$(releaseExamples)".Split(" ") | % {$_ + ".exe"})
del ui.h ${{ parameters.osHeader }}
popd
displayName: 'Create Artifacts'