chore(devenv): Add changelog to tag messages in release script
This commit is contained in:
parent
f19de5ce42
commit
86e3d9dffb
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue