Skip to content

Commit 4b8a2c2

Browse files
author
Chad Smith
committed
update goreleaser file
1 parent 9c1937b commit 4b8a2c2

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.goreleaser.yaml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
# This is an example .goreleaser.yml file with some sensible defaults.
22
# Make sure to check the documentation at https://goreleaser.com
3+
4+
# The lines below are called `modelines`. See `:help modeline`
5+
# Feel free to remove those if you don't want/need to use them.
6+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7+
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
8+
9+
version: 2
10+
11+
project_name: dotsec
12+
313
before:
414
hooks:
515
# You may remove this if you don't use go modules.
616
- go mod tidy
717
# you may remove this if you don't need go generate
818
- go generate ./...
19+
920
builds:
1021
- env:
1122
- CGO_ENABLED=0
@@ -16,7 +27,7 @@ builds:
1627

1728
archives:
1829
- format: tar.gz
19-
# this name template makes the OS and Arch compatible with the results of uname.
30+
# this name template makes the OS and Arch compatible with the results of `uname`.
2031
name_template: >-
2132
{{ .ProjectName }}_
2233
{{- title .Os }}_
@@ -26,20 +37,13 @@ archives:
2637
{{- if .Arm }}v{{ .Arm }}{{ end }}
2738
# use zip for windows archives
2839
format_overrides:
29-
- goos: windows
30-
format: zip
31-
checksum:
32-
name_template: 'checksums.txt'
33-
snapshot:
34-
name_template: "{{ incpatch .Version }}-next"
40+
- goos: windows
41+
format: zip
42+
43+
3544
changelog:
3645
sort: asc
3746
filters:
3847
exclude:
39-
- '^docs:'
40-
- '^test:'
41-
42-
# The lines beneath this are called `modelines`. See `:help modeline`
43-
# Feel free to remove those if you don't want/use them.
44-
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
45-
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
48+
- "^docs:"
49+
- "^test:"

0 commit comments

Comments
 (0)