diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0717f9080..86b21b5ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,6 +60,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ steps.create-release-branch.outputs.branch }} + token: ${{ secrets.BOT_TOKEN_WORKFLOW }} - name: Bump and tag project run: bash ci/scripts/bump-and-tag.bash diff --git a/ci/scripts/bump-and-tag.bash b/ci/scripts/bump-and-tag.bash index a80dd5563..4288a9f50 100644 --- a/ci/scripts/bump-and-tag.bash +++ b/ci/scripts/bump-and-tag.bash @@ -64,8 +64,8 @@ if [[ "$bump_deps_pattern" != '' ]]; then fi fi -git tag "$version" -m "v$version" +git tag --force "$version" -m "v$version" git log -10 git show-ref --tags git push origin -git push origin "$version" +git push --force origin "$version"