-
Notifications
You must be signed in to change notification settings - Fork 14
/
.goreleaser.yaml
60 lines (58 loc) · 1.44 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
before:
hooks:
- make fmt
- make vet
builds:
- id: 'cli'
ldflags:
- -X github.com/arlonproj/arlon/cmd/install.capiCoreProvider=cluster-api:v1.3.3
- -X github.com/arlonproj/arlon/cmd/initialize.argocdGitTag=release-2.5
- -X github.com/arlonproj/arlon/cmd/version.cliVersion=0.11.0
- -w
- -s
env:
- CGO_ENABLED=0
goos:
- linux
# - windows # coming soon?
- darwin
goarch:
- 'amd64'
- '386'
- 'arm64'
ignore:
- goos: 'darwin'
goarch: '386'
- goos: 'linux'
goarch: 'arm'
goarm: '7'
- goarm: 'mips64'
- gomips: 'hardfloat'
- goamd64: 'v4'
skip: false
no_unique_dist_dir: true
mod_timestamp: '{{ .CommitTimestamp }}'
binary: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v{{ .Version }}'
archives:
- id: 'cli'
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_{{ .Version }}'
replacements:
darwin: 'Darwin'
linux: 'Linux'
windows: 'Windows'
386: 'i386'
amd64: 'x86_64'
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- 'refactor'
- 'minor fix'
- 'cleanup'