-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
71 lines (63 loc) · 1.54 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
61
62
63
64
65
66
67
68
69
70
71
project_name: goenv
before:
hooks:
- go mod download
builds:
- main: ./main.go
binary: goenv
ldflags:
- -extldflags="-static"
env:
- CGO_ENABLED=0 # it tells the Go compiler to produce a statically linked binary without any dynamic library dependencies
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- arm
ignore:
- goos: darwin
goarch: arm
archives:
- id: goenv
name_template: |-
{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}
# format: binary
checksum:
name_template: 'goenv_checksums.txt'
algorithm: sha256
release:
prerelease: auto
draft: false
header: |
## Quick Installation
**Download**: https://github.com/ankitcharolia/goenv/releases/tag/{{.Tag}}
footer: |
**Full Changelog**: https://github.com/ankitcharolia/goenv/compare/{{ .PreviousTag }}...{{ .Tag }}
changelog:
use:
github
sort: asc
abbrev: 0
groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
- title: 'Features'
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: 'Bug fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: 'Documentation'
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 300
- title: 'Dependency updates'
regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
order: 400
- title: 'Other work'
order: 999
filters:
exclude:
- '^*.json:'
- 'README'
- Merge pull request
- Merge branch