forked from dikhan/terraform-provider-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
36 lines (33 loc) · 1020 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
builds:
- main: main.go
binary: terraform-provider-openapi_v{{ .Version }}
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
flags:
- -a
- -tags="netgo"
ldflags:
- -s -w -extldflags "-static" -X "github.com/dikhan/terraform-provider-openapi/v3/openapi/version.Version={{.Version}}" -X "github.com/dikhan/terraform-provider-openapi/v3/openapi/version.Commit={{.Commit}}" -X "github.com/dikhan/terraform-provider-openapi/v3/openapi/version.Date={{.Date}}"
release:
name_template: "v{{.Version}}"
# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: false
archives:
- id: terraform-provider-openapi-archives
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
checksum:
name_template: "{{ .ProjectName }}_{{.Version}}_checksums.txt"