-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
54 lines (54 loc) · 1.11 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: wcbot
build:
main: ./cmd/wcbot/
binary: wcbot
env:
- CGO_ENABLED=0
ldflags:
-s -w -X main.Version={{.Version}} -X main.GitCommit={{.ShortCommit}} -X main.BuildDate={{.Date}}`.
goos:
- darwin
- linux
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
archive:
format: tar.gz
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
wrap_in_directory: true
replacements:
amd64: 64bit
386: 32bit
arm: arm
arm64: arm64
darwin: macos
linux: linux
#windows: windows
files:
- LICENSE
- README.md
- CHANGELOG.md
- godownloader-wcbot.sh
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
sign:
artifacts: checksum
snapshot:
name_template: '{{ .ProjectName }}_SNAPSHOT_{{ .Commit }}'
#changelog:
# sort: asc
# filters:
# exclude:
# - '^docs:'
# - '^test:'
release:
draft: true
prerelease: true
disable: false