-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: update release guide #167
base: master
Are you sure you want to change the base?
Conversation
/cc @steveej |
@lucab would you mind creating a separate PR for the |
7a3ad42
to
3cc220c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup. The guide works well with just a few nitpicks.
- [ ] `RELEASE_VER=x.y.z` | ||
- [ ] `UPSTREAM_REMOTE=origin` | ||
|
||
:warning:: `UPSTREAM_REMOTE` should reference the locally configured remote that points to the upstream git repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:warning:: `UPSTREAM_REMOTE` should reference the locally configured remote that points to the upstream git repository. | |
:warning: `UPSTREAM_REMOTE` should reference the locally configured remote that points to the upstream git repository. |
- [ ] open a web browser and create a PR for the branch above | ||
- [ ] make sure the resulting PR contains exactly two commits | ||
- [ ] in the PR body, write a short changelog with relevant changes since last release | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- make sure the project is clean and prepare the environment: | ||
- [ ] `cargo test` | ||
- [ ] `cargo clean` | ||
- [ ] `git clean -fd` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm uncertain whether to leave the -d
parameter to remove untracked files in here or not. At least we should add a warning about it.
|
||
2. create release commits on a dedicated branch and tag it: | ||
- [ ] `git checkout -b release-${RELEASE_VER}` | ||
- [ ] `cargo release` (and confirm the version when prompted) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a minor release I had to run cargo release -- minor
, as the RELEASE_VER
environment variable is not considered by cargo release
. Should we add a note on this or do we trust this to be intuitive enough?
This updates the metadata for
cargo-release
and the release instructions, in order to work with latest binary.Notably:
v
prefix-separator by default (see tag-message is not respected in 0.12.4 crate-ci/cargo-release#156)coreos
projects (e.g. Release coreos-installer 0.3.0 coreos/coreos-installer#297)Closes: #166