mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Create PUBLISH.md
This commit is contained in:
parent
e8783be6f1
commit
c687fe73bc
1 changed files with 15 additions and 0 deletions
15
PUBLISH.md
Normal file
15
PUBLISH.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Steps to publish a new clippy version
|
||||||
|
|
||||||
|
1. `cargo test`.
|
||||||
|
- Bump `package.version` in `./Cargo.toml` (no need to manually bump `dependencies.clippy_lints.version`).
|
||||||
|
- Run `./util/update_lints.py`.
|
||||||
|
- Write a changelog entry.
|
||||||
|
- Commit `./Cargo.toml`, `./clippy_lints/Cargo.toml` and `./CHANGELOG.md`.
|
||||||
|
- `git push`
|
||||||
|
- Wait for Travis's approval.
|
||||||
|
- Merge.
|
||||||
|
- `cargo publish` in `./clippy_clints`.
|
||||||
|
- `cargo publish` in the root directory.
|
||||||
|
- `git pull`.
|
||||||
|
- `git tag -s v0.0.X`.
|
||||||
|
- `git push --tags`.
|
Loading…
Add table
Reference in a new issue