diff --git a/scripts/run-goreleaser b/scripts/run-goreleaser index d5fee4b..9191d6b 100755 --- a/scripts/run-goreleaser +++ b/scripts/run-goreleaser @@ -2,7 +2,7 @@ set -euo pipefail -go install github.com/goreleaser/goreleaser/v2@v2.12.3 +go install github.com/goreleaser/goreleaser/v2@v2.14.1 if [ ! -z "${harbor_username:-}" ]; then DOCKER_FILE=~/.docker/config.json @@ -13,11 +13,11 @@ if [ ! -z "${harbor_username:-}" ]; then fi fi -DRONE_TAG=${DRONE_TAG-""} +CI_TAG=${CI_COMMIT_TAG:-${DRONE_TAG:-""}} is_snapshot="" -if [ -z "$DRONE_TAG" ]; then +if [ -z "$CI_TAG" ]; then is_snapshot="--snapshot" fi