Skip to content

Commit 068ed18

Browse files
updated goreleaser
1 parent 66741b2 commit 068ed18

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.goreleaser.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ builds:
1616
ldflags:
1717
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
1818
goos:
19-
- freebsd
19+
- freebsd
2020
- windows
2121
- linux
2222
- darwin
@@ -34,18 +34,17 @@ builds:
3434
id: "keyfactor"
3535
main: './cmd/keyfactor'
3636
archives:
37-
format: zip
38-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
39-
files:
40-
- installation.txt
41-
- LICENSE.txt
37+
- format: binary
38+
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
39+
# files:
40+
# - installation.txt
41+
# - LICENSE.txt
4242
checksum:
43-
ids:
44-
- keyfactor
45-
46-
name_template: '{{ .ProjectName }}.{{ .Version }}.sha256'
47-
algorithm: sha256
48-
# split: true
43+
- ids:
44+
- keyfactor
45+
name_template: '{{ .ProjectName }}.{{ .Version }}.sha256'
46+
algorithm: sha256
47+
# split: true
4948
signs:
5049
- artifacts: checksum
5150
args:
@@ -60,8 +59,9 @@ signs:
6059
- "${artifact}"
6160
release:
6261
prerelease: auto
63-
# extra_files:
64-
# - glob: 'installation.txt'
62+
extra_files:
63+
- glob: 'installation.txt'
64+
- glob: 'LICENSE.txt'
6565
# If you want to manually examine the release before its live, uncomment this line:
6666
draft: true
6767
changelog:

0 commit comments

Comments
 (0)