Release: Make sure to checkout the new commit with bumped version

This commit is contained in:
Šarūnas Nejus 2024-11-22 01:22:47 +00:00
parent ea6ddde351
commit c6c4afa543
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435

View file

@ -42,6 +42,8 @@ jobs:
needs: increment-version
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.increment-version.outputs.commit_long_sha }}
- name: Install Python tools
uses: BrandonLWhite/pipx-install-action@v0.1.1
- uses: actions/setup-python@v5
@ -97,6 +99,10 @@ jobs:
env:
CHANGELOG: ${{ needs.build.outputs.changelog }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.increment-version.outputs.commit_long_sha }}
- name: Tag the commit
id: tag_version
uses: mathieudutour/github-tag-action@v6