Skip to content

Commit

Permalink
Rework release CI to avoid directly commiting to master (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeicor authored Jan 12, 2025
1 parent affb5c9 commit 84364ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
# This needs to be done in a new branch as master is protected
export VERSION="${GITHUB_REF##*/}"
git branch -D "update-cargo-version-${VERSION:1}"
git checkout -b "update-cargo-version-${VERSION:1}"
echo "BRANCH_NAME=update-cargo-version-${VERSION:1}" >> $GITHUB_OUTPUT
# Actually update the Cargo.toml
Expand Down

0 comments on commit 84364ea

Please sign in to comment.