Common release scripts
This commit is contained in:
13
scripts/run-goreleaser
Executable file
13
scripts/run-goreleaser
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
DRONE_TAG=${DRONE_TAG-""}
|
||||
|
||||
is_snapshot=""
|
||||
|
||||
if [ -z "$DRONE_TAG" ]; then
|
||||
is_snapshot="--snapshot"
|
||||
fi
|
||||
|
||||
goreleaser release $is_snapshot -p 6 --skip-publish
|
Reference in New Issue
Block a user