Skip to content

Commit

Permalink
Fix release pipelines (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
jumaffre authored Sep 22, 2020
1 parent 7098626 commit 3ca2946
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .azure-pipelines-templates/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- task: DownloadPipelineArtifact@2
inputs:
source: current
patterns: '*'
patterns: '**'
path: $(Build.ArtifactStagingDirectory)

- script: |
Expand All @@ -25,20 +25,20 @@ jobs:
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'auto'
assets: $(Build.ArtifactStagingDirectory)/*
assets: $(Build.ArtifactStagingDirectory)/**/*
assetUploadMode: 'delete'
isDraft: true
isPreRelease: true
releaseNotesSource: 'file'
releaseNotesFile: $(Build.BinariesDirectory)/rel-notes.md
addChangeLog: false
displayName: 'GitHub release (create)'
displayName: 'GitHub Release'

- script: |
python3.8 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
pip install twine
twine upload -u __token__ -p $(pypi_token) $(Build.ArtifactStagingDirectory)/*.whl
twine upload -u __token__ -p $(pypi_token) $(Build.ArtifactStagingDirectory)/**/*.whl
workingDirectory: python
displayName: PyPi https://pypi.org/project/ccf/

0 comments on commit 3ca2946

Please sign in to comment.