diff --git a/set-env.sh b/set-env.sh index e9e67ed..77c1185 100644 --- a/set-env.sh +++ b/set-env.sh @@ -4,7 +4,7 @@ set -ex VERSION=`cat VERSION` -if [[ $GITHUB_REF == "master" ]]; then +if [[ $GITHUB_REF == "refs/heads/master" ]]; then echo "::set-env name=TAGS::latest,${VERSION}" else echo "::set-env name=TAGS::dev,${VERSION}-dev"