From df8ce523cb9ad6d9cfbda213744c3da9f444438b Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sat, 28 Aug 2021 00:08:56 +0200 Subject: [PATCH] fix changelog --- CHANGELOG.md | 4 ++-- docs/release.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d55ec76..646d4fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,8 +55,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - First release with matrix-client & http.server [Unreleased]: https://github.com/nim65s/matrix-webhook/compare/v3.2.1...master -[v3.2.1] https://github.com/nim65s/matrix-webhook/compare/v3.2.0...v3.2.1 -[v3.2.0] https://github.com/nim65s/matrix-webhook/compare/v3.1.1...v3.2.0 +[v3.2.1]: https://github.com/nim65s/matrix-webhook/compare/v3.2.0...v3.2.1 +[v3.2.0]: https://github.com/nim65s/matrix-webhook/compare/v3.1.1...v3.2.0 [v3.1.1]: https://github.com/nim65s/matrix-webhook/compare/v3.1.0...v3.1.1 [v3.1.0]: https://github.com/nim65s/matrix-webhook/compare/v3.0.0...v3.1.0 [v3.0.0]: https://github.com/nim65s/matrix-webhook/compare/v2.0.0...v3.0.0 diff --git a/docs/release.sh b/docs/release.sh index 933e083..c2ef8e3 100755 --- a/docs/release.sh +++ b/docs/release.sh @@ -13,7 +13,7 @@ DATE=$(date +%Y-%m-%d) sed -i "/^## \[Unreleased\]/a \\\n## [v$NEW] - $DATE" CHANGELOG.md sed -i "/^\[Unreleased\]/s/$OLD/$NEW/" CHANGELOG.md -sed -i "/^\[Unreleased\]/a [v$NEW] https://github.com/nim65s/matrix-webhook/compare/v$OLD...v$NEW" CHANGELOG.md +sed -i "/^\[Unreleased\]/a [v$NEW]: https://github.com/nim65s/matrix-webhook/compare/v$OLD...v$NEW" CHANGELOG.md git add pyproject.toml CHANGELOG.md git commit -m "Release v$NEW"