-
Notifications
You must be signed in to change notification settings - Fork 108
Maintenance
Christoph Otter edited this page Feb 6, 2024
·
11 revisions
This page contains instructions for maintainer, not users.
- Set version of
cosmwasm-std
/cosmwasm-vm
inlibwasmvm/Cargo.toml
- Run
(cd libwasmvm && cargo check)
to updatelibwasmvm/Cargo.lock
- Update testing contracts:
(cd testdata && ./download_releases.sh v0.13.0)
- Run Rust tests:
(cd libwasmvm && cargo test)
- Run Go tests:
make build-rust && make test
(This will createlibwasmvm.*
files. Don't commit those)
- Merge all your work in main
export NEW_WASMVM_VERSION="1.2.1"
- Update version in
Cargo.toml
, update lockfile and commit to main:gsed -i -e "s/^version[[:space:]]*=[[:space:]]*.*$/version = \"$NEW_WASMVM_VERSION\"/" libwasmvm/Cargo.toml (cd libwasmvm && cargo check) git add libwasmvm/Cargo.* && git commit -m "Set libwasmvm version to $NEW_WASMVM_VERSION" git push
- Wait for the re-build of the shared libraries by the CI job deploy_to_git. This adds a [skip ci] Built release libraries commit. Pull latest main branch.
watch --interval 20 'git pull && git log'
-
git tag "v$NEW_WASMVM_VERSION"
, review everything andgit push --tags
Now the shared libraries are checked in at the new tag. A CI build is triggered by the tag, that creates a release including the static library build.