-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
36 lines (35 loc) · 985 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
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
version: 2
archives:
- id: archive
name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
builds:
- binary: pulumi-resource-equinix
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 }}
- -X github.com/equinix/terraform-provider-equinix/version.ProviderVersion|={{.Tag}}
main: ./cmd/pulumi-resource-equinix/
changelog:
disable: true
release:
mode: keep-existing
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"