Skip to content

Commit

Permalink
don't push on cargo release
Browse files Browse the repository at this point in the history
  • Loading branch information
rarescosma committed Nov 2, 2024
1 parent 520e6ca commit 011c38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ release type=DEFAULT_RELEASE:
#!/usr/bin/env bash
cargo release version {{type}} -x --no-confirm
cargo release commit -x --no-confirm
cargo release -x --no-confirm || {
cargo release -x --no-confirm --no-push || {
echo -e "Release failed, removing latest tag and rewinding to HEAD~1..."
git tag --delete $(git tag -l | sort -r | head -n 1)
git reset --hard HEAD~1
Expand Down

0 comments on commit 011c38e

Please sign in to comment.