Try to fix CircleCI shell error

This commit is contained in:
Neil Alexander 2018-12-03 17:49:03 +00:00
parent a7f5c427d4
commit 8a04cbe3c8
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -31,7 +31,7 @@ MINOR=$(echo $TAG | cut -c 2- | cut -d "." -f 2)
BRANCH=$(git rev-parse --abbrev-ref HEAD)
# Output in the desired format
if [ $PATCH == 0 ]; then
if [ $PATCH = 0 ]; then
if [ ! -z $FULL ]; then
printf 'v%d.%d.0' "$MAJOR" "$MINOR"
else