Skip to content

Commit aeba70d

Browse files
committed
ci: Okay now the non-mac archives were not showing up... Trying this
1 parent 5d7ac4a commit aeba70d

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/.goreleaser.yaml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ builds:
1717

1818
# https://goreleaser.com/customization/archive
1919
archives:
20-
- id: linux-windows
21-
ids: [linix-windows]
20+
- id: archives
2221
formats: [tar.gz]
2322
# this name template makes the OS and Arch compatible with the results of `uname`.
2423
name_template: >-
@@ -31,26 +30,14 @@ archives:
3130
- LICENSE
3231
- CHANGELOG.md
3332
- README.md
34-
- src: "{{ .ArtifactPath }}.sig"
33+
# Note: The "*" makes the file optional, since the macos builds
34+
# are not signed by Cosign.
35+
- src: "{{ .ArtifactPath }}.sig*"
3536
strip_parent: true
3637
# use zip for windows archives
3738
format_overrides:
3839
- goos: windows
3940
formats: [zip]
40-
- id: darwin
41-
ids: [darwin]
42-
formats: [tar.gz]
43-
# this name template makes the OS and Arch compatible with the results of `uname`.
44-
name_template: >-
45-
{{ .ProjectName }}_
46-
{{- title .Os }}_
47-
{{- if eq .Arch "amd64" }}x86_64
48-
{{- else }}{{ .Arch }}{{ end }}
49-
{{- if .Arm }}v{{ .Arm }}{{ end }}
50-
files:
51-
- LICENSE
52-
- CHANGELOG.md
53-
- README.md
5441

5542
# https://goreleaser.com/customization/checksum
5643
checksum:
@@ -103,4 +90,4 @@ signs:
10390

10491
# https://goreleaser.com/customization/release
10592
release:
106-
ids: [linux-windows, darwin, cosign-checksum]
93+
ids: [archives, cosign-checksum]

0 commit comments

Comments
 (0)