Skip to content

Commit

Permalink
chore: update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
desbma committed Nov 6, 2024
1 parent d77c857 commit 972edcf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

set -o pipefail

readonly VERSION=${1:?}

readonly VERSION="${1:?}"

cd "$(git rev-parse --show-toplevel)"

sed -i "s/^\(version = \"\).*\(\"\)/\1$VERSION\2/w /dev/stdout" Cargo.toml
cargo set-version "${VERSION}"

cargo upgrade
cargo update
cargo check && cargo test

cargo check
cargo test

git add Cargo.{toml,lock}

Expand Down

0 comments on commit 972edcf

Please sign in to comment.