From 90a4293759ec51243967ce21ef01f7c424f2004f Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Thu, 15 Aug 2019 17:42:05 +0200 Subject: [PATCH] Remove publishing things Clippy is no longer published via crates.io, so these docs and the script are not needed anymore. --- PUBLISH.md | 14 -------------- pre_publish.sh | 22 ---------------------- publish.files | 3 --- 3 files changed, 39 deletions(-) delete mode 100644 PUBLISH.md delete mode 100755 pre_publish.sh delete mode 100644 publish.files diff --git a/PUBLISH.md b/PUBLISH.md deleted file mode 100644 index b85605dc3b3..00000000000 --- a/PUBLISH.md +++ /dev/null @@ -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`. diff --git a/pre_publish.sh b/pre_publish.sh deleted file mode 100755 index 3602f671e3d..00000000000 --- a/pre_publish.sh +++ /dev/null @@ -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." diff --git a/publish.files b/publish.files deleted file mode 100644 index 9ee50447f99..00000000000 --- a/publish.files +++ /dev/null @@ -1,3 +0,0 @@ - M Cargo.toml - M CHANGELOG.md - M clippy_lints/Cargo.toml