forked from cybozu-go/moco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
47 lines (42 loc) · 921 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
39
40
41
42
43
44
45
46
47
before:
hooks:
- make release-manifests-build
builds:
- id: kubectl-moco
main: ./cmd/kubectl-moco
binary: kubectl-moco
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ignore: # ref: https://goreleaser.com/deprecations/#builds-for-windowsarm64
- goos: windows
goarch: arm64
archives:
- builds:
- kubectl-moco
name_template: "kubectl-{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: false
format: tar.gz
files:
- LICENSE
rlcp: true
checksum:
name_template: checksums.txt
changelog:
skip: true
release:
github:
owner: cybozu-go
name: moco
prerelease: auto
name_template: "Release {{ .Tag }}"
footer: |
See [CHANGELOG.md](./CHANGELOG.md) for details.
extra_files:
- glob: build/moco.yaml