Skip to content

Commit

Permalink
New approach
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepPork committed Mar 15, 2019
1 parent be2e72c commit 427475b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:
pathtoPublish: $(Build.ArtifactStagingDirectory)

- script: |
ls
cd $(Build.ArtifactStagingDirectory)/releaseZip
ls
curl -F 'zip=@$(ls *.zip | head -n1)' -F 'accessToken=$(access.token)' $(access.url)
export ZIP=$(ls *.zip | head -n1)
curl -F 'zip=@'"$ZIP"'' -F 'accessToken=$(access.token)' $(access.url)
displayName: 'Upload files'

0 comments on commit 427475b

Please sign in to comment.