Skip to content

Commit

Permalink
Rework release CI to avoid directly commiting to master (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeicor authored Jan 12, 2025
1 parent d8b6dc4 commit d473217
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 @@ -50,7 +50,7 @@ jobs:
# Commit the changes
git config --global user.email "yeicor@users.noreply.github.com"
git config --global user.name "Yeicor"
if !git commit -am "Update Cargo.toml to version ${VERSION:1} (automatic)"; then
if ! git commit -am "Update Cargo.toml to version ${VERSION:1} (automatic)"; then
echo "No change to the Cargo.toml version (did you repeat a release tag??)"
exit 1
fi
Expand Down

0 comments on commit d473217

Please sign in to comment.