From d612fc86be54ffd7122fc4f9599e5980463ffd23 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 7 Jan 2022 03:16:12 +0900 Subject: [PATCH] Release 1.0.3 --- CHANGELOG.md | 5 ++++- tools/publish.sh | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc838b6ce..5886fab71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +## [1.0.3] - 2022-01-06 + - Update `cargo-llvm-cov@latest` to 0.1.15. ## [1.0.2] - 2022-01-05 @@ -24,7 +26,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com Initial release -[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.0.2...HEAD +[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.0.3...HEAD +[1.0.3]: https://github.com/taiki-e/install-action/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/taiki-e/install-action/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/taiki-e/install-action/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/taiki-e/install-action/releases/tag/v1.0.0 diff --git a/tools/publish.sh b/tools/publish.sh index 599090cfd..0dece9369 100755 --- a/tools/publish.sh +++ b/tools/publish.sh @@ -37,6 +37,9 @@ echo "============== CHANGELOG ==============" parse-changelog CHANGELOG.md "${version}" echo "=======================================" +if ! grep /dev/null; then + bail "not found section '[${version}] - $(date --utc '+%Y-%m-%d')' in CHANGELOG.md" +fi if ! grep /dev/null; then bail "not found link to [${version}] in CHANGELOG.md" fi