Skip to content

Commit

Permalink
add GO111MODULE to goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: ocobleseqx <[email protected]>
  • Loading branch information
ocobles committed Nov 13, 2023
1 parent 345180d commit c8a935c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ builds:
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goarch:
- amd64
- arm64
goos:
- darwin
- windows
- linux
hooks:
post:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -cache
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache
ignore: []
ldflags:
# The line below MUST align with the module in current provider/go.mod
- -X github.com/equinix/pulumi-equinix/provider/pkg/version.Version={{.Tag }}
Expand Down

0 comments on commit c8a935c

Please sign in to comment.