To cut a new release, you will need to do the following:
-
Confirm that CI is green for the commit selected to be tagged and released.
-
Change the workspace version number in Cargo.toml and the versions for the crates in the workspace dependencies (e.g.
wac-parser). Additionally change the version in the resultwatfiles that include aproducerssection. E.g.:(@producers (processed-by "wac-parser" "0.8.0")). NOTE: RunningBLESS=1 cargo test --workspacewill regenerate most of these. -
Create a pull request with these changes and merge once approved.
-
Checkout the commit with the version bump from above.
-
Create and push a new tag with a
vand then the version number.As an example, via the
gitCLI:# Create a GPG-signed and annotated tag git tag -s -m "Wac v0.8.0" v0.8.0 # Push the tag to the remote corresponding to bytecodealliance/wac (here 'origin') git push origin v0.8.0 -
Pushing the tag upstream will trigger the release actions which creates a release and publishes the crates in this workspace to
crates.io -
Repeat step 2/3 bumping to the version for the next anticipated release with the
-devsuffix (e.g.0.11.0-dev).