Skip to content

Commit b34ccf2

Browse files
committed
fix goreleaser
1 parent 876399b commit b34ccf2

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.goreleaser.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
3-
before:
4-
hooks:
5-
# this is just an example and not a requirement for provider building/publishing
6-
- go mod tidy
3+
project_name: terraform-provider-statuspage
74
builds:
85
- env:
9-
# goreleaser does not work with CGO, it could also complicate
10-
# usage by users in CI/CD systems like Terraform Cloud where
11-
# they are unable to install libraries.
126
- CGO_ENABLED=0
13-
flags:
14-
- -trimpath
15-
- -tags=netgo
16-
- -a
7+
- GOFLAGS = -mod=vendor
8+
- GO111MODULE = on
9+
- GIT_OWNER = yannh
1710
ldflags:
18-
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
11+
- -extldflags "-static"
1912
goos:
2013
- freebsd
2114
- windows

0 commit comments

Comments
 (0)