You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Cutting a new release of the Spin command trigger plugin
2
+
3
+
To cut a new release of the command trigger plugin, you will need to do the following:
4
+
5
+
1. Confirm that [CI is green](https://fermyon/spin-trigger-command/actions) for the commit selected to be tagged and released.
6
+
7
+
1. Change the version number in [Cargo.toml](./Cargo.toml) and [spin-pluginify.toml](./spin-pluginify.toml) and run `cargo build --release`.
8
+
9
+
1. Create a pull request with these changes and merge once approved.
10
+
11
+
1. Checkout the commit with the version bump from above.
12
+
13
+
1. Create and push a new tag with a `v` and then the version number.
14
+
15
+
As an example, via the `git` CLI:
16
+
17
+
```
18
+
# Create a GPG-signed and annotated tag
19
+
git tag -s -m "Spin Command Trigger v0.1.0" v0.1.0
20
+
21
+
# Push the tag to the remote corresponding to fermyon/spin-trigger-command (here 'origin')
22
+
git push origin v0.1.0
23
+
```
24
+
25
+
1. Pushing the tag upstream will trigger the [release action](https://github.com/fermyon/spin-trigger-command/actions/workflows/release.yml).
26
+
- The release build will create the packaged versions of the plugin, the updated plugin manifest and a checksums file
27
+
- These assets are uploaded to a new GitHub release for the pushed tag
28
+
- Release notes are auto-generated but edit as needed especially around breaking changes or other notable items
29
+
30
+
1. Create a PR in the [fermyon/spin-plugins](https://github.com/fermyon/spin-plugins) repository with the [updated manifest](https://github.com/fermyon/spin-plugins/tree/main/manifests/command-trigger).
31
+
32
+
1. If applicable, create PR(s) or coordinate [documentation](https://github.com/fermyon/developer) needs, e.g. for new features or updated functionality.
0 commit comments