chore: Improve changelog handling

This commit is contained in:
Roberto Alsina 2024-09-21 14:08:07 -03:00
parent 9d49ff78d6
commit 766f9b4708

View File

@ -7,7 +7,7 @@ VERSION=$(git cliff --bumped-version --unreleased |cut -dv -f2)
sed "s/^version:.*$/version: $VERSION/g" -i shard.yml
git add shard.yml
hace lint test
git cliff --bump -o
git cliff --bump -u -p CHANGELOG.md
git commit -a -m "bump: Release v$VERSION"
git tag "v$VERSION"
git push --tags