Skip to content

Commit

Permalink
push only after successful publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sharunkumar committed Nov 14, 2023
1 parent 3581c52 commit a27b15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cargo install cargo-bump
cargo bump
cargo update
git add . && git commit -m "bump version" && git push
cargo publish
git add . && git commit -m "bump version"
cargo publish && git push

0 comments on commit a27b15a

Please sign in to comment.