forked from flexera-public/wstunnel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
85 lines (77 loc) · 1.69 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# .goreleaser.yml
version: 2
project_name: wstunnel
before:
hooks:
- go mod tidy
builds:
- binary: wstunnel
env:
- CGO_ENABLED=0
- GO111MODULE=on
goarch:
- amd64
- arm64
- 386
goos:
- darwin
- windows
- linux
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: 386
- goos: darwin
goarch: 386
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
format_overrides:
- goos: windows
format: zip
files:
- README*
- LICENSE*
checksum:
name_template: 'checksums.txt'
changelog:
use: git # or github
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: Bug fixes
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge branch
release:
draft: false
prerelease: auto
mode: replace
header: |
See [CHANGELOG.md](CHANGELOG.md) for all changes.
footer: |
**Full Changelog**: https://github.com/rshade/wstunnel/blob/main/CHANGELOG.md
snapshot:
name_template: "{{ incpatch .Version }}-next"
# Optional Docker configuration
# dockers:
# - image_templates:
# - "ghcr.io/username/wstunnel:{{ .Version }}"
# - "ghcr.io/username/wstunnel:latest"