fix changelog
This commit is contained in:
parent
58d0e83f8f
commit
df8ce523cb
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue