Skip to content

Commit

Permalink
Release 0.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 21, 2022
1 parent 336a46f commit 7b7a0d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

## [Unreleased]

## [0.5.11] - 2022-01-21

- Fix breakage on nightly-2022-01-20 or later. ([#146](https://github.com/taiki-e/cargo-hack/pull/146))

## [0.5.10] - 2022-01-05
Expand Down Expand Up @@ -260,7 +262,8 @@ See [#89](https://github.com/taiki-e/cargo-hack/pull/89) for more.

Initial release

[Unreleased]: https://github.com/taiki-e/cargo-hack/compare/v0.5.10...HEAD
[Unreleased]: https://github.com/taiki-e/cargo-hack/compare/v0.5.11...HEAD
[0.5.11]: https://github.com/taiki-e/cargo-hack/compare/v0.5.10...v0.5.11
[0.5.10]: https://github.com/taiki-e/cargo-hack/compare/v0.5.9...v0.5.10
[0.5.9]: https://github.com/taiki-e/cargo-hack/compare/v0.5.8...v0.5.9
[0.5.8]: https://github.com/taiki-e/cargo-hack/compare/v0.5.7...v0.5.8
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-hack"
version = "0.5.10"
version = "0.5.11"
edition = "2018"
rust-version = "1.46"
license = "Apache-2.0 OR MIT"
Expand Down
3 changes: 3 additions & 0 deletions tools/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ echo "============== CHANGELOG =============="
parse-changelog CHANGELOG.md "${version}"
echo "======================================="

if ! grep <CHANGELOG.md -E "^## \\[${version//./\\.}\\] - $(date --utc '+%Y-%m-%d')$" >/dev/null; then
bail "not found section '[${version}] - $(date --utc '+%Y-%m-%d')' in CHANGELOG.md"
fi
if ! grep <CHANGELOG.md -E "^\\[${version//./\\.}\\]: " >/dev/null; then
bail "not found link to [${version}] in CHANGELOG.md"
fi
Expand Down

0 comments on commit 7b7a0d7

Please sign in to comment.