Skip to content

Commit

Permalink
scripts/tag: run clippy and unit tests before tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
eras committed Jan 14, 2023
1 parent 579b283 commit 406a49a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/tag
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ set -e
set -x
scripts/update-cargo-version.sh "$(sed 's/^.//' <<< $version)"
cargo update -p mxrxtx
cargo clippy
cargo test
# the change may have already done, so this can be skipped
git commit -m "Bumped version to $version" Cargo.toml Cargo.lock || true
git tag --force --annotate --cleanup=whitespace --edit --message '' "$version"

0 comments on commit 406a49a

Please sign in to comment.