From 3ca2946c676ffb3f904a66b95d8ade57b3193922 Mon Sep 17 00:00:00 2001 From: Julien Maffre <42961061+jumaffre@users.noreply.github.com> Date: Tue, 22 Sep 2020 16:28:27 +0100 Subject: [PATCH] Fix release pipelines (#1637) --- .azure-pipelines-templates/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines-templates/release.yml b/.azure-pipelines-templates/release.yml index 3074a50bb43b..153e154a47f5 100644 --- a/.azure-pipelines-templates/release.yml +++ b/.azure-pipelines-templates/release.yml @@ -11,7 +11,7 @@ jobs: - task: DownloadPipelineArtifact@2 inputs: source: current - patterns: '*' + patterns: '**' path: $(Build.ArtifactStagingDirectory) - script: | @@ -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/ \ No newline at end of file