Make Goreleaser use the tag passed to the script

This commit is contained in:
Katrina Verey
2022-03-28 14:37:29 -04:00
parent e86c479690
commit 5833f4ca80

View File

@@ -28,6 +28,7 @@ fi
fullTag=$1 fullTag=$1
shift shift
echo "fullTag=$fullTag" echo "fullTag=$fullTag"
export GORELEASER_CURRENT_TAG=$fullTag
if [[ $1 == "release" || $1 == "build" ]]; then if [[ $1 == "release" || $1 == "build" ]]; then
mode=$1 mode=$1