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.
-
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 "Spin Rust SDK v3.1.0" v3.1.0 # Push the tag to the remote corresponding to spinframework/spin-rust-sdk (here 'origin') git push origin v3.1.0 -
Pushing the tag upstream will trigger the release action which publishes the crates in this workspace to
crates.ioand dispatches anrust-sdk-releaseevent to thespinframework/spinrepository. This event will trigger an action that updates the rust sdk dependency for templates and examples. -
If applicable, create PR(s) or coordinate documentation needs, e.g. for new features or updated functionality.