Skip to content

Commit c6c4afa

Browse files
committed
Release: Make sure to checkout the new commit with bumped version
1 parent ea6ddde commit c6c4afa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/make_release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
needs: increment-version
4343
steps:
4444
- uses: actions/checkout@v4
45+
with:
46+
ref: ${{ needs.increment-version.outputs.commit_long_sha }}
4547
- name: Install Python tools
4648
uses: BrandonLWhite/[email protected]
4749
- uses: actions/setup-python@v5
@@ -97,6 +99,10 @@ jobs:
9799
env:
98100
CHANGELOG: ${{ needs.build.outputs.changelog }}
99101
steps:
102+
- uses: actions/checkout@v4
103+
with:
104+
ref: ${{ needs.increment-version.outputs.commit_long_sha }}
105+
100106
- name: Tag the commit
101107
id: tag_version
102108
uses: mathieudutour/github-tag-action@v6

0 commit comments

Comments
 (0)