mirror of
https://github.com/suzuki-shunsuke/drone-jsonnet-generator.git
synced 2026-02-10 08:32:51 +02:00
ci: fix scripts/tag-dummy.sh
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
git fetch
|
git fetch
|
||||||
git tag
|
git tag
|
||||||
git tag `git tag | tail -n 1`-alpha || exit 1
|
t=`git tag | tail -n 1`
|
||||||
|
if [ -n "$t" ]; then
|
||||||
|
git tag ${t}-alpha || exit 1
|
||||||
|
else
|
||||||
|
git tag v0.1.0-alpha || exit 1
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user