rust/PUBLISH.md
Philipp Hansch 40151d91af
Add rust-toolchain file
Using `nightly` means that the latest available nightly version will be
used when cd'ing to a clippy checkout.
2018-07-11 08:03:46 +02:00

16 lines
532 B
Markdown

Steps to publish a new Clippy version
- Bump `package.version` in `./Cargo.toml` (no need to manually bump `dependencies.clippy_lints.version`).
- Write a changelog entry.
- If a nightly update is needed, update `min_version.txt` using `rustc -vV > min_version.txt`
- Run `./pre_publish.sh`
- Review and commit all changed files
- `git push`
- Wait for Travis's approval.
- Merge.
- `cargo publish` in `./clippy_lints`.
- `cargo publish` in the root directory.
- `git pull`.
- `git tag -s v0.0.X -m "v0.0.X"`.
- `git push --tags`.