Skip to content

Commit 413d905

Browse files
committed
Bump version & add release notes
Signed-off-by: Brian H <[email protected]>
1 parent 5e82d1a commit 413d905

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ anyhow = "1"
2121
async-trait = "0.1.74"
2222
chrono = "0.4.38"
2323
form_urlencoded = "1.0"
24-
spin-executor = { version = "3.0.1", path = "crates/executor" }
25-
spin-macro = { version = "3.0.1", path = "crates/macro" }
24+
spin-executor = { version = "3.1.0", path = "crates/executor" }
25+
spin-macro = { version = "3.1.0", path = "crates/macro" }
2626
thiserror = "1.0.37"
2727
wit-bindgen = { workspace = true }
2828
routefinder = "0.5.3"
@@ -81,7 +81,7 @@ wasmtime-wasi-http = "18.0.1"
8181
wit-component = "0.200.0"
8282

8383
[workspace.package]
84-
version = "3.0.1"
84+
version = "3.1.0"
8585
authors = ["Fermyon Engineering <[email protected]>"]
8686
edition = "2021"
8787
license = "Apache-2.0 WITH LLVM-exception"

release-process.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Cutting a new release of the Spin Rust SDK
2+
3+
To cut a new release, you will need to do the following:
4+
5+
1. Confirm that [CI is green](https://github.com/fermyon/spin-rust-sdk/actions) for the commit selected to be tagged and released.
6+
7+
2. Change the workspace version number in [Cargo.toml](./Cargo.toml) and the versions for any dependencies that are part of this workspace (e.g. `spin-macro`).
8+
9+
3. Create a pull request with these changes and merge once approved.
10+
11+
4. Checkout the commit with the version bump from above.
12+
13+
5. 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 Rust SDK v3.1.0" v3.1.0
20+
21+
# Push the tag to the remote corresponding to fermyon/spin-rust-sdk (here 'origin')
22+
git push origin v3.1.0
23+
```
24+
25+
6. Pushing the tag upstream will trigger the [release action](https://github.com/fermyon/spin-rust-sdk/actions/workflows/release.yml) which publishes the crates in this workspace to `crates.io`
26+
27+
7. 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

Comments
 (0)