Skip to content

Commit f25e4a7

Browse files
committed
Set correct cargo release push remote
1 parent 0f5b680 commit f25e4a7

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

RELEASE_PROCESS.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

33
1. Ensure all notable changes are in the changelog under "Unreleased".
44

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
610
everything. External subcommand, must be installed with `cargo install
711
cargo-release`.
812

913
`<level>` can be one of `major|minor|patch`. If this is the first release
1014
(`0.1.0`), use `minor`, since the version starts out as `0.0.0`.
1115

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.

release.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
tag-message = "{{version}}"
44
no-dev-version = true
5-
pre-release-commit-message = "Release {{version}}"
5+
pre-release-commit-message = "Release v{{version}}"
6+
push-remote = "upstream"
67

78
# Change the changelog's `Unreleased` section to refer to this release and
89
# prepend a new `Unreleased` section

0 commit comments

Comments
 (0)