-
Notifications
You must be signed in to change notification settings - Fork 14
Release Guide
Jack Wrenn edited this page Mar 23, 2023
·
1 revision
This guide assumes you have a clone of personal fork of async-backtrace
, with two remotes:
-
origin
, pointing at your personal fork -
upstream
, pointing at[email protected]:tokio-rs/async-backtrace.git
To release X.Y.Z
, begin by preparing the release.
In a clone of your local fork:
- run
git pull upstream main --ff-only
- tweak and run
git checkout -b prepare-X.Y.Z
- edit the entries in
CHANGELOG.md
under the## [Unreleased] - ReleaseDate
header (but do not change this header) - run
git add CHANGELOG.md
- tweak and run
git commit -m 'prepare vX.Y.Z release'
- tweak and run
git push --set-upstream origin prepare-X.Y.Z
- file a PR with the body text
bors r+
- wait for PR to merge
Begin by creating a fresh clone of async-backtrace
upstream for release:
git clone [email protected]:tokio-rs/async-backtrace.git async-backtrace-release
Run git log
to verify that the last commit is the merge of the aforementioned PR.
Finally, run cargo release X.Y.Z --execute
.