fix(devenv): Fix release changelog generation and commit message

This commit is contained in:
Evan Fiordeliso 2024-03-08 13:40:10 -05:00
parent 7fa9815a37
commit 08f0281e98
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@
gen-changelog.exec = "git cliff -o $CHANGELOG_FILE"; gen-changelog.exec = "git cliff -o $CHANGELOG_FILE";
release.exec = '' release.exec = ''
version = "$(git cliff --bumped-version)" version = "$(git cliff --bumped-version)"
gen-changelog git cliff --bump --unreleased -o $CHANGELOG_FILE
git add $CHANGELOG_FILE git add $CHANGELOG_FILE
git commit -m "chore: Update changelog and bump version" git commit -m "chore(release): release $version"
git tag "$version" -m "Release $version" git tag "$version" -m "Release $version"
git push --tags git push --tags
''; '';