From c6c4afa5438e8ae2340898322eebfda8dbb96bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Fri, 22 Nov 2024 01:22:47 +0000 Subject: [PATCH] Release: Make sure to checkout the new commit with bumped version --- .github/workflows/make_release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/make_release.yaml b/.github/workflows/make_release.yaml index 3814d2a83..65616e9a8 100644 --- a/.github/workflows/make_release.yaml +++ b/.github/workflows/make_release.yaml @@ -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