forked from contabo/cntb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
56 lines (54 loc) · 1.01 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
project_name: cntb
before:
hooks:
- go mod tidy
- go mod download
builds:
- main: ./main.go
binary: cntb
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
ldflags:
- -w -s -X contabo.com/cli/cntb/cmd.version={{.Tag}} -X contabo.com/cli/cntb/cmd.commit={{.Commit}} -X contabo.com/cli/cntb/cmd.date={{.Date}}
archives:
-
name_template: "{{ .Binary }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
files:
- README.md
- LICENSE
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
sort: asc
filters:
exclude:
- '^docs:'
release:
github:
owner: contabo
name: cntb
draft: false
prerelease: auto
header: |
footer: |