Skip to content

Commit 4f869ad

Browse files
Copilotmaxbeizer
andauthored
fix: correct GoReleaser config so gh extension install works (#179)
* Initial plan * fix: update GoReleaser config to produce correctly named binary assets for gh extension install Co-authored-by: maxbeizer <2006658+maxbeizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: maxbeizer <2006658+maxbeizer@users.noreply.github.com>
1 parent c1395b0 commit 4f869ad

2 files changed

Lines changed: 5 additions & 32 deletions

File tree

.goreleaser.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.goreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ builds:
44
- id: gh-agent-viz
55
main: ./gh-agent-viz.go
66
binary: gh-agent-viz
7+
env:
8+
- CGO_ENABLED=0
79
ldflags:
810
- -s -w -X github.com/maxbeizer/gh-agent-viz/cmd.Version={{.Version}}
911
goos:
@@ -16,11 +18,9 @@ builds:
1618

1719
archives:
1820
- id: default
19-
format: tar.gz
20-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
21-
format_overrides:
22-
- goos: windows
23-
format: zip
21+
formats:
22+
- binary
23+
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}-{{ .Arch }}"
2424

2525
checksum:
2626
name_template: "checksums.txt"

0 commit comments

Comments
 (0)