diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-04-06 15:20:57 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-04-06 15:25:46 +0200 |
commit | c9ae3dcda4cc0e8ef89ef949ae88ee2c9123a615 (patch) | |
tree | 90aaf968ee1c8b5ac7a78668efe4e34c7efcd1db | |
parent | 5a3d26552a0b2b8622290f8ed487d9bd758404bc (diff) |
Remove version consistency check.
- This check no longer makes sense as the crate versions are no
longer in sync.
- Fixes #703.
-rw-r--r-- | Makefile | 15 | ||||
-rw-r--r-- | doc/release-checklist.md | 2 |
2 files changed, 0 insertions, 17 deletions
@@ -152,21 +152,6 @@ clean: $(MAKE) -Copenpgp-ffi clean $(MAKE) -Cffi clean -.PHONY: sanity-check-versions -sanity-check-versions: - set -e ; V=$(VERSION) ; VV=$(shell echo $(VERSION) | cut -d. -f1-2) ;\ - bad() { echo "bad $$*." ; exit 1 ; } ;\ - for TOML in */Cargo.toml ; do \ - echo -n "$$TOML " ;\ - grep '^version *=' $$TOML | grep -q $$V || bad version ;\ - grep '^documentation *=' $$TOML \ - | egrep -q "($${V})|(https://docs.rs/)" || bad documentation ;\ - grep '{ *path *= *"' $$TOML | while read L ; do \ - echo $$L | grep -q $$VV || bad intra-workspace dependency ;\ - done ;\ - echo good. ;\ - done - .PHONY: codespell codespell: $(CODESPELL) $(CODESPELL_FLAGS) \ diff --git a/doc/release-checklist.md b/doc/release-checklist.md index 6d92119d..942c132f 100644 --- a/doc/release-checklist.md +++ b/doc/release-checklist.md @@ -6,8 +6,6 @@ This is a checklist for doing Sequoia releases. relative to the last released version. - For all 'Cargo.toml's: Bump documentation = "https://.../XXX/...". - For all 'Cargo.toml's: Bump intra-workspace dependencies. - - Run 'make sanity-check-versions'. - - This simple check fails if not all versions are in sync. - Update dependencies and run tests. - Run 'cargo update' to update the dependencies. If some dependency is updated and breaks due to our MSRV, find a good |