forked from kubernetes-sigs/aws-iam-authenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
38 lines (34 loc) · 800 Bytes
/
.goreleaser.yaml
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
# Configuration for https://goreleaser.com/
project_name: authenticator
builds:
- id: aws-iam-authenticator
binary: aws-iam-authenticator
main: ./cmd/aws-iam-authenticator/
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
- ppc64le
- s390x
ignore:
- goos: windows
goarch: arm64
env:
- CGO_ENABLED=0
ldflags:
- "-s -w -X sigs.k8s.io/aws-iam-authenticator/pkg.Version={{.Version}} -X sigs.k8s.io/aws-iam-authenticator/pkg.CommitID={{.Commit}} -buildid=''"
snapshot:
name_template: "git-{{.ShortCommit}}"
archives:
- id: bin
format: binary
release:
github:
owner: kubernetes-sigs
name: aws-iam-authenticator
draft: true
prerelease: false
name_template: "v{{.Version}}"