Skip to content

Commit

Permalink
Use the 'upload.sh' script to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kazssym committed Mar 20, 2020
1 parent f7c760c commit e6b81b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,9 @@ stages:
- name: repository
value: kazssym/libvm68k
steps:
- checkout: none
- download: current
artifact: dist
- bash: |
curl --fail --user '$(bitbucket.username):$(bitbucket.password)' \
--form 'files=@"$(Pipeline.Workspace)/dist/$(package.distName).tar.gz"' \
'https://api.bitbucket.org/2.0/repositories/$(repository)/downloads'
sh ./upload.sh -u '$(bitbucket.username):$(bitbucket.password)' \
-r '$(repository)' '$(Pipeline.Workspace)'/dist/*
displayName: Upload

0 comments on commit e6b81b5

Please sign in to comment.