]> git.lizzy.rs Git - rust.git/blobdiff - PUBLISH.md
Use span_lint_and_sugg
[rust.git] / PUBLISH.md
index b500e5e3f28cad03fb903a2ac065a1562fd0e991..9dcfc52a25bbf95e060fda7cbe3db44cae4a7a15 100644 (file)
@@ -1,15 +1,20 @@
 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`.
+- Run `./pre_publish.sh`
+- Review and commit all changed files
 - `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 tag -s v0.0.X -m "v0.0.X"`.
 - `git push --tags`.
+- `git clone git@github.com:Manishearth/rust-clippy.wiki.git ../rust-clippy.wiki`
+- `./util/update_wiki.py`
+- `cd ../rust-clippy.wiki`
+- `git add *`
+- `git commit`
+- `git push`