chore: detect version bump in release script

This commit is contained in:
Roberto Alsina 2024-09-21 14:05:14 -03:00
parent fb924543a0
commit 9d49ff78d6

View File

@ -2,7 +2,7 @@
set e
PKGNAME=$(basename "$PWD")
VERSION=$(git cliff --bumped-version |cut -dv -f2)
VERSION=$(git cliff --bumped-version --unreleased |cut -dv -f2)
sed "s/^version:.*$/version: $VERSION/g" -i shard.yml
git add shard.yml