mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-14 03:20:28 +00:00
Try to fix CircleCI shell error
This commit is contained in:
parent
a7f5c427d4
commit
8a04cbe3c8
@ -31,7 +31,7 @@ MINOR=$(echo $TAG | cut -c 2- | cut -d "." -f 2)
|
|||||||
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
||||||
# Output in the desired format
|
# Output in the desired format
|
||||||
if [ $PATCH == 0 ]; then
|
if [ $PATCH = 0 ]; then
|
||||||
if [ ! -z $FULL ]; then
|
if [ ! -z $FULL ]; then
|
||||||
printf 'v%d.%d.0' "$MAJOR" "$MINOR"
|
printf 'v%d.%d.0' "$MAJOR" "$MINOR"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user