Skip to content

Commit 223782b

Browse files
authored
Merge pull request #936 from oom-ai/ci/go-release
ci: update release package name
2 parents 3b1c4d9 + 78a5bdb commit 223782b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.goreleaser.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ before:
66
- go generate ./...
77
builds:
88
- main: ./oomcli
9-
id: "oomcli"
9+
id: oomcli
1010
binary: oomcli
1111
env:
1212
- CGO_ENABLED=0
@@ -22,7 +22,7 @@ builds:
2222
-X github.com/oom-ai/oomstore/version.Commit={{.Commit}}
2323
-X github.com/oom-ai/oomstore/version.Built={{.CommitDate}}
2424
- main: ./oomagent
25-
id: "oomagent"
25+
id: oomagent
2626
binary: oomagent
2727
env:
2828
- CGO_ENABLED=0
@@ -38,6 +38,9 @@ builds:
3838
-X github.com/oom-ai/oomstore/version.Commit={{.Commit}}
3939
-X github.com/oom-ai/oomstore/version.Built={{.CommitDate}}
4040
41+
archives:
42+
- name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Arch }}-{{ .Os }}"
43+
wrap_in_directory: "true"
4144
checksum:
4245
name_template: "checksums.txt"
4346
snapshot:

0 commit comments

Comments
 (0)