Skip to content

Commit

Permalink
move git tag creation back to before creating the release (#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotibou authored Jul 3, 2023
1 parent a24504f commit 54061c0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/create_draft_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
env:
Version: ${{steps.versions.outputs.full_version}}

- name: "Create and push git tag"
run: |
git tag "v${{steps.versions.outputs.full_version}}"
git push origin "v${{steps.versions.outputs.full_version}}"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -72,13 +77,6 @@ jobs:
${{steps.assets.outputs.gitlab_artifacts_path}}/*.zip
${{steps.assets.outputs.sha_path}}
# Done after creating the release as some packaging ran on gitlab are triggered by the tag creation and rely
# on the assets present in the github release.
- name: "Create and push git tag"
run: |
git tag "v${{steps.versions.outputs.full_version}}"
git push origin "v${{steps.versions.outputs.full_version}}"
- name: "Trigger Docker Base Images Github Pipeline"
run: |
curl \
Expand Down

0 comments on commit 54061c0

Please sign in to comment.