fix(devenv): Fix release changelog generation and commit message
This commit is contained in:
parent
7fa9815a37
commit
08f0281e98
|
@ -28,9 +28,9 @@
|
|||
gen-changelog.exec = "git cliff -o $CHANGELOG_FILE";
|
||||
release.exec = ''
|
||||
version = "$(git cliff --bumped-version)"
|
||||
gen-changelog
|
||||
git cliff --bump --unreleased -o $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 push --tags
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue