mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-04-04 07:18:23 +00:00
chore: detect version bump in release script
This commit is contained in:
parent
fb924543a0
commit
9d49ff78d6
@ -2,7 +2,7 @@
|
|||||||
set e
|
set e
|
||||||
|
|
||||||
PKGNAME=$(basename "$PWD")
|
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
|
sed "s/^version:.*$/version: $VERSION/g" -i shard.yml
|
||||||
git add shard.yml
|
git add shard.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user