forked from cloudnativelabs/kube-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
44 lines (39 loc) · 803 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
37
38
39
40
41
42
43
44
---
version: 2
release:
draft: true
prerelease: auto
header: |
## Summary
## Contributions
## Changelog
builds:
- main: ./cmd/kube-router
goos:
- linux
goarch:
- amd64
- arm
- arm64
- ppc64le
- s390x
- riscv64
goarm:
- 6
- 7
env:
- CGO_ENABLED=0
ldflags:
- "-X github.com/cloudnativelabs/kube-router/pkg/version.Version={{.Version}}"
- "-X github.com/cloudnativelabs/kube-router/pkg/version.BuildDate={{.Date}}"
archives:
- format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE*
- README*
- CHANGELOG*
- Documentation*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}