2023-07-08 17:39:36 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
2023-11-15 22:28:41 +08:00
|
|
|
go install github.com/goreleaser/goreleaser@v1.22.1
|
2023-09-17 23:02:48 -07:00
|
|
|
|
2023-07-08 17:39:36 -07:00
|
|
|
DRONE_TAG=${DRONE_TAG-""}
|
|
|
|
|
|
|
|
is_snapshot=""
|
|
|
|
|
|
|
|
if [ -z "$DRONE_TAG" ]; then
|
|
|
|
is_snapshot="--snapshot"
|
|
|
|
fi
|
|
|
|
|
2023-10-14 04:10:33 -07:00
|
|
|
goreleaser release $is_snapshot -p 6 --skip=publish
|