Common release scripts

This commit is contained in:
2023-07-08 17:39:36 -07:00
parent 5c067e3752
commit facd2f4f57
4 changed files with 72 additions and 0 deletions

13
scripts/run-goreleaser Executable file
View 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