-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.goreleaser.yml
63 lines (58 loc) · 1.3 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
ldflags:
- -X github.com/pulumi/crd2pulumi/cmd.Version={{.Tag}}
goarch:
- amd64
- arm64
binary: crd2pulumi
main: ./main.go
overrides:
# Some indirect dependencies (rjeczalik/notify, go-ieproxy) require linking against CGO for Darwin.
- goos: darwin
goarch: arm64
goamd64: ""
goarm: ""
gomips: ""
env:
- CGO_ENABLED=1
- goos: darwin
goarch: amd64
goamd64: v1
goarm: ""
gomips: ""
env:
- CGO_ENABLED=1
ignore:
- goos: windows
goarch: arm64
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
brews:
- name: crd2pulumi
tap:
owner: pulumi
name: homebrew-tap
commit_author:
name: pulumi-bot
email: [email protected]
homepage: "https://pulumi.com"
description: "Generate typed CustomResources in Pulumi from Kubernetes CRDs"
folder: Formula
license: Apache-2.0
test: |
system "#{bin}/crd2pulumi version"