Skip to content

Commit 8c7742a

Browse files
committed
contrib: Add more details about release process
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 46f92ea commit 8c7742a

1 file changed

Lines changed: 28 additions & 5 deletions

File tree

contrib/release.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# New Release
22

3-
1. Tag
4-
2. Download binaries from github action run on tag
5-
3. Sign windows exe with EV cert
6-
4. Create release with release notes and upload binaries
7-
5. Notify distribution maintainers (See README)
3+
1. Make sure to update all versions in Cargo.toml and Cargo.lock files
4+
2. Tag
5+
3. Download binaries from github action run on tag
6+
4. Sign windows exe with EV cert
7+
5. Create release on GitHub with release notes and upload binaries
8+
6. Notify distribution maintainers (See README)
9+
7. Do winget release (See below)
10+
8. Do crates.io release (See below)
811

912
## winget
1013

@@ -27,3 +30,23 @@ winget install --manifest .\manifests\f\FrameworkComputer\framework_tool\0.5.0
2730
git add manifests/f/FrameworkComputer/framework_tool/0.5.0
2831
git commit -sm "New version: FrameworkComputer.framework_tool version 0.5.0"
2932
```
33+
34+
## crates.io
35+
36+
See: https://doc.rust-lang.org/cargo/reference/publishing.html
37+
38+
Dry run and review included files
39+
40+
```
41+
cargo publish -p framework_lib --dry-run
42+
cargo publish -p framework_tool --dry-run
43+
cargo package list -p framework_lib
44+
cargo package list -p framework_tool
45+
```
46+
47+
Publish
48+
49+
```
50+
cargo publish -p framework_lib
51+
cargo publish -p framework_tool
52+
```

0 commit comments

Comments
 (0)