chore(devenv): Add changelog to tag messages in release script

This commit is contained in:
Evan Fiordeliso 2024-03-08 14:00:01 -05:00
parent f19de5ce42
commit 86e3d9dffb
1 changed files with 2 additions and 1 deletions

View File

@ -35,10 +35,11 @@
fi
version="$(git cliff --bumped-version)"
changelog=$(git cliff --unreleased --strip all | sed -e '/^#/d' -e '/^$/d')
git cliff --bump --unreleased --prepend $CHANGELOG_FILE
git add $CHANGELOG_FILE
git commit -m "chore(release): release $version"
git tag "$version" -m "Release $version"
git tag "$version" -m "Release $version" -m "$changelog"
git push --tags
'';