-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
37 lines (37 loc) · 857 Bytes
/
.goreleaser.yml
File metadata and controls
37 lines (37 loc) · 857 Bytes
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
version: 2
env:
- GO111MODULE=on
# Commented out because requires Pro features
# before:
# hooks:
# - cmd: go mod tidy
# dir: ./utils
# - cmd: go generate ./...
# dir: ./utils
builds:
- skip: true
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Tag }}-dev"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^changes:'
- '^test:'
sboms:
- artifacts: source
release:
discussion_category_name: Releases
# If the version tag looks like a pre-release e.g. beta then the GitHub release is set to prerelease
prerelease: auto
name_template: "Release {{.Version}}"