Skip to content

Commit c687fe7

Browse files
authored
Create PUBLISH.md
1 parent e8783be commit c687fe7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

PUBLISH.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Steps to publish a new clippy version
2+
3+
1. `cargo test`.
4+
- Bump `package.version` in `./Cargo.toml` (no need to manually bump `dependencies.clippy_lints.version`).
5+
- Run `./util/update_lints.py`.
6+
- Write a changelog entry.
7+
- Commit `./Cargo.toml`, `./clippy_lints/Cargo.toml` and `./CHANGELOG.md`.
8+
- `git push`
9+
- Wait for Travis's approval.
10+
- Merge.
11+
- `cargo publish` in `./clippy_clints`.
12+
- `cargo publish` in the root directory.
13+
- `git pull`.
14+
- `git tag -s v0.0.X`.
15+
- `git push --tags`.

0 commit comments

Comments
 (0)