Skip to content

Commit

Permalink
fix: Override release tag if it already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz authored and diogomatsubara committed Jul 10, 2024
1 parent 533dad3 commit 5a3c424
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/bump-and-tag.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5a3c424

Please sign in to comment.