To cut a new release of the MQTT trigger plugin, you will need to do the following:
-
Confirm that CI is green for the commit selected to be tagged and released.
-
Change the version number in Cargo.toml and spin-pluginify.toml and run
cargo build --release
. -
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
v
and then the version number.As an example, via the
git
CLI:# Create a GPG-signed and annotated tag git tag -s -m "Spin MQTT Trigger v0.2.0" v0.2.0 # Push the tag to the remote corresponding to spinkube/spin-trigger-mqtt (here 'origin') git push origin v0.2.0
-
Pushing the tag upstream will trigger the release action.
- The release build will create the packaged versions of the plugin, the updated plugin manifest and a checksums file
- These assets are uploaded to a new GitHub release for the pushed tag
- Release notes are auto-generated but edit as needed especially around breaking changes or other notable items
-
Create a PR in the fermyon/spin-plugins repository with the updated manifest.
-
If applicable, create PR(s) or coordinate documentation needs, e.g. for new features or updated functionality.