mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-26 22:32:02 -03:00
chore: detect version bump in release script
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user