- 
                Notifications
    You must be signed in to change notification settings 
- Fork 134
Maintenance
        Simon Warta edited this page Oct 14, 2024 
        ·
        11 revisions
      
    This page contains instructions for maintainer, not users.
- Set version of cosmwasm-std/cosmwasm-vminlibwasmvm/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"
- If you do a major version bump: Go requires you to change the package suffix to v2/v3/ ... and update all imports to that
- 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. Once the release is done, add some meaningful description to the release, as it is shown to people using dependabot. Especially consensus-breaking changes are of interest here.
- Bump version in builders/Makefileand-BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0100 +BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0101 Makefile-BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0100 +BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0101 
- Finalize README section:
diff --git a/builders/README.md b/builders/README.md index f262d5a..6dd0a57 100644 --- a/builders/README.md +++ b/builders/README.md @@ -23,6 +23,8 @@ See those DockerHub repos for all available versions of the builder images. **Unreleased** +**Version 0101:** + - Update Rust to 1.81.0. - Update Dockerfile.cross from Debian Bullseye to Bookworm ([#533]) - Rename `.cargo/config` to `.cargo/config.toml` to silence warning 
- Update docs/COMPILER_VERSIONS.md
- Create PR branch and commit
- Build images: (cd builders && make docker-images)
- Check and publish
- Push PR branch to use the new images