Skip to content

Commit 5be019e

Browse files
committed
Disable release creation for windows runner
1 parent 27f4d1e commit 5be019e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.goreleaser-windows.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ builds:
1515
- -s -w
1616
- -X go.szostok.io/version.version={{.Version}}
1717
- -X go.szostok.io/version.buildDate={{.Date}}
18-
checksum:
19-
name_template: 'windows_checksums.txt'
2018

2119
snapshot:
2220
name_template: "{{ incpatch .Version }}"
@@ -33,7 +31,10 @@ changelog:
3331
archives:
3432
- name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
3533
format: zip
36-
34+
35+
release:
36+
disable: true # Linux runner will publish the release (including the windows binaries)
37+
3738
# Re-enable when https://github.com/goreleaser/goreleaser/issues/4292 is fixed
3839
# chocolateys:
3940
# - name: azctx

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ builds:
1818
- -X go.szostok.io/version.version={{.Version}}
1919
- -X go.szostok.io/version.buildDate={{.Date}}
2020
checksum:
21-
name_template: 'linux_darwin_checksums.txt'
21+
name_template: 'checksums.txt'
2222

2323
snapshot:
2424
name_template: "{{ incpatch .Version }}"

0 commit comments

Comments
 (0)