run-goreleaser 240 B

123456789101112131415
  1. #!/bin/bash
  2. set -euo pipefail
  3. go install github.com/goreleaser/[email protected]
  4. DRONE_TAG=${DRONE_TAG-""}
  5. is_snapshot=""
  6. if [ -z "$DRONE_TAG" ]; then
  7. is_snapshot="--snapshot"
  8. fi
  9. goreleaser release $is_snapshot -p 6 --skip-publish