File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
1 . Ensure all notable changes are in the changelog under "Unreleased".
4
4
5
- 2 . Execute ` cargo release <level> ` to bump version(s), tag and publish
5
+ 2 . Ensure that the upstream remote is called ` upstream ` . The default is usually
6
+ ` origin ` .
7
+ To change the remote name, call ` git remote rename origin upstream ` .
8
+
9
+ 3 . Execute ` cargo release <level> ` to bump version(s), tag and publish
6
10
everything. External subcommand, must be installed with `cargo install
7
11
cargo-release`.
8
12
9
13
` <level> ` can be one of ` major|minor|patch ` . If this is the first release
10
14
(` 0.1.0 ` ), use ` minor ` , since the version starts out as ` 0.0.0 ` .
11
15
12
- 3 . Go to the GitHub releases, edit the just-pushed tag. Copy the release notes
13
- from the changelog.
16
+ 4 . Go to the GitHub releases, edit the just-pushed tag. Copy the release notes
17
+ from the [ changelog] ( CHANGELOG.md ) .
18
+ - Remove the brackets from the PR numbers, as these are not needed for
19
+ GitHub's release notes.
Original file line number Diff line number Diff line change 2
2
3
3
tag-message = " {{version}}"
4
4
no-dev-version = true
5
- pre-release-commit-message = " Release {{version}}"
5
+ pre-release-commit-message = " Release v{{version}}"
6
+ push-remote = " upstream"
6
7
7
8
# Change the changelog's `Unreleased` section to refer to this release and
8
9
# prepend a new `Unreleased` section
You can’t perform that action at this time.
0 commit comments