Skip to content

Commit 616c80f

Browse files
committed
Ensure config works will latest v1
1 parent 2d712d5 commit 616c80f

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.goreleaser.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1-
---
2-
sboms:
3-
- artifacts: archive
41
# This is an example .goreleaser.yml file with some sensible defaults.
52
# 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: 1
10+
611
before:
712
hooks:
813
# You may remove this if you don't use go modules.
914
- go mod tidy
1015
# you may remove this if you don't need go generate
1116
# - go generate ./...
17+
1218
builds:
13-
-
14-
env:
19+
- env:
1520
- CGO_ENABLED=0
1621
goarch:
1722
- amd64
@@ -23,11 +28,14 @@ builds:
2328
- goos: darwin
2429
goarch: arm
2530
- goos: windows
31+
goos:
32+
- linux
33+
- windows
34+
- darwin
2635

2736
archives:
2837
- format: tar.gz
29-
# this name template makes the OS and Arch compatible with the results of
30-
# uname.
38+
# this name template makes the OS and Arch compatible with the results of `uname`.
3139
name_template: >-
3240
{{ .ProjectName }}_
3341
{{- title .Os }}_
@@ -39,17 +47,7 @@ archives:
3947
format_overrides:
4048
- goos: windows
4149
format: zip
42-
checksum:
43-
name_template: 'checksums.txt'
44-
snapshot:
45-
name_template: "{{ incpatch .Version }}-next"
46-
changelog:
47-
skip: true
48-
sort: asc
49-
filters:
50-
exclude:
51-
- '^docs:'
52-
- '^test:'
50+
5351
nfpms:
5452
-
5553
id: 'is'
@@ -77,7 +75,9 @@ nfpms:
7775
- src: 'README.md'
7876
dst: '/usr/share/doc/is/README.md'
7977

80-
# The lines beneath this are called `modelines`. See `:help modeline`
81-
# Feel free to remove those if you don't want/use them.
82-
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
83-
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
78+
changelog:
79+
sort: asc
80+
filters:
81+
exclude:
82+
- "^docs:"
83+
- "^test:"

0 commit comments

Comments
 (0)