We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f6c1a commit 838c516Copy full SHA for 838c516
scripts/xcompile.sh
@@ -4,7 +4,7 @@ set -eo pipefail
4
5
# You may need to go install github.com/goreleaser/goreleaser/v2@latest first
6
GORELEASER="goreleaser build --clean"
7
-if [ -z "$CI" ]; then
+if [ -z "$CI" ] || [[ "${GITHUB_REF_NAME:-}" == draft-* ]]; then
8
GORELEASER+=" --snapshot"
9
fi
10
0 commit comments