fix: Automatic CHANGELOG generation.

This commit is contained in:
aminecmi 2022-12-29 13:11:23 +01:00
parent 89992967be
commit ff021d572c

View File

@ -46,6 +46,7 @@ steps:
image: ubuntu:latest
commands:
- apt-get update && apt-get install -y git
- git fetch --tags -p
- VER=$(git describe --tags --abbrev=0)
- CHANGELOG=$(git log $VER..HEAD --pretty="- %s")
- echo "**$VER**\n\n$CHANGELOG\n\n--------------------------------------------------------------------\n\n$(cat CHANGELOG.md)" > CHANGELOG.md