mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
chore: detect version bump in release script
This commit is contained in:
parent
fb924543a0
commit
9d49ff78d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user