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:
Philipp Hansch 2019-08-15 17:42:05 +02:00
parent d829d9f6b0
commit 90a4293759
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6
3 changed files with 0 additions and 39 deletions

View file

@ -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`.

View file

@ -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."

View file

@ -1,3 +0,0 @@
M Cargo.toml
M CHANGELOG.md
M clippy_lints/Cargo.toml