Skip to content

Commit

Permalink
pre-release: Stash changes before checking cargo gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Gtker committed Oct 10, 2024
1 parent f1cdaa6 commit 6cf9d4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pre-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ export CARGO_INCREMENTAL=0

cargo install cargo-hack --locked

# CHANGELOG and Cargo.toml are changed
git stash

cargo gen
git diff-files --quiet

# CHANGELOG and Cargo.toml are changed
git stash pop

cargo test --all-features -p $1

# Try to catch clippy lints early
Expand Down

0 comments on commit 6cf9d4f

Please sign in to comment.