Skip to content

Commit

Permalink
Merge pull request #3996 from anoma/tomas/fix-release-script
Browse files Browse the repository at this point in the history
fix release.sh script
  • Loading branch information
mergify[bot] authored Nov 7, 2024
2 parents 86fd732 + 4d7c660 commit 7f8fb0d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,24 @@ git clean -fxd

# update the main workspace crate versions (1 commit)
HASH_BEFORE=$(git rev-parse HEAD)
cargo release --execute $VERSION
cargo release version --execute $VERSION
git commit -am "Namada $VERSION"
HASH_AFTER=$(git rev-parse HEAD)

# update the wasm workspace crate versions (2 fixups)
# update the wasm workspace crate versions (1 fixup)
cd $REPO_ROOT/wasm
cargo release version --execute $VERSION
cargo update -w
git add Cargo.lock
git add Cargo.toml
git commit --fixup=$HASH_AFTER
cargo release --execute $VERSION

# update the wasm_for_tests workspace crate version, and rebuild them (3 fixups)
# update the wasm_for_tests workspace crate version, and rebuild them (1 fixup)
cd $REPO_ROOT/wasm_for_tests
cargo release version --execute $VERSION
cargo update -w
git add Cargo.lock
git add Cargo.toml
git commit --fixup=$HASH_AFTER

# update the changelog (1 fixup)
Expand Down

0 comments on commit 7f8fb0d

Please sign in to comment.