-
Notifications
You must be signed in to change notification settings - Fork 33
/
.goreleaser.yml
48 lines (40 loc) · 1013 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
45
46
47
48
project_name: MyToken
release:
github:
owner: polyrabbit
name: my-token
mode: replace
builds:
- id: "mt-build"
binary: mt
flags:
- -v
ldflags:
- -X github.com/polyrabbit/my-token/config.Rev={{.ShortCommit}} -X github.com/polyrabbit/my-token/config.Version={{.Version}} -X github.com/polyrabbit/my-token/config.Date={{.Date}}
# GOOS list to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are darwin and linux.
goos:
- linux
- darwin
- windows
# List of combinations of GOOS + GOARCH + GOARM to ignore.
# Default is empty.
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 7
- goarm: mips64
gomips: hardfloat
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^tests:'
archives:
- name_template: "mt_{{ .Version }}_{{ .Os }}_{{ .Arch }}"