Fix master tag

This commit is contained in:
Xiaonan Shen 2020-05-31 21:36:46 -07:00
parent 28a8bcab05
commit 961f9c70dd
No known key found for this signature in database
GPG Key ID: 211BF560D12417F5

View File

@ -4,7 +4,7 @@ set -ex
VERSION=`cat VERSION` VERSION=`cat VERSION`
if [[ $GITHUB_REF == "master" ]]; then if [[ $GITHUB_REF == "refs/heads/master" ]]; then
echo "::set-env name=TAGS::latest,${VERSION}" echo "::set-env name=TAGS::latest,${VERSION}"
else else
echo "::set-env name=TAGS::dev,${VERSION}-dev" echo "::set-env name=TAGS::dev,${VERSION}-dev"