mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 15:37:15 +00:00
Remove publishing things
Clippy is no longer published via crates.io, so these docs and the script are not needed anymore.
This commit is contained in:
parent
d829d9f6b0
commit
90a4293759
3 changed files with 0 additions and 39 deletions
14
PUBLISH.md
14
PUBLISH.md
|
@ -1,14 +0,0 @@
|
|||
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.
|
||||
- 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`.
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
./util/update_lints.py
|
||||
|
||||
# add all changed files
|
||||
git add .
|
||||
git commit -m "Bump the version"
|
||||
|
||||
set +e
|
||||
|
||||
echo "Running \`cargo fmt\`.."
|
||||
|
||||
cd clippy_lints && cargo fmt -- --write-mode=overwrite && cd ..
|
||||
cargo fmt -- --write-mode=overwrite
|
||||
|
||||
echo "Running tests to make sure \`cargo fmt\` did not break anything.."
|
||||
|
||||
cargo test
|
||||
|
||||
echo "If the tests passed, review and commit the formatting changes and remember to add a git tag."
|
|
@ -1,3 +0,0 @@
|
|||
M Cargo.toml
|
||||
M CHANGELOG.md
|
||||
M clippy_lints/Cargo.toml
|
Loading…
Reference in a new issue