Skip to content

Commit

Permalink
Add script to run GoReleaser locally
Browse files Browse the repository at this point in the history
  • Loading branch information
hansmi committed Oct 14, 2024
1 parent 71a303c commit c964e2b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions contrib/build-all
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -e -u -o pipefail

package=github.com/hansmi/wp2reg-luxws

docker run --rm \
--user "$(id -u):$(id -g)" \
--env HOME=/tmp \
--env GITHUB_TOKEN=a \
-v "${PWD}:/go/src/${package}" \
-w "/go/src/${package}" \
goreleaser/goreleaser:latest release --clean --snapshot

# vim: set sw=2 sts=2 et :

0 comments on commit c964e2b

Please sign in to comment.