Skip to content

Commit

Permalink
ci: update go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
lianxmfor committed Jan 7, 2022
1 parent 351fb26 commit 9f7e1a3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ builds:
id: "oomcli"
binary: oomcli
env:
- CGO_ENABLED=1
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
ldflags:
- >
-s -w
Expand All @@ -23,22 +25,19 @@ builds:
id: "oomagent"
binary: oomagent
env:
- CGO_ENABLED=1
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
ldflags:
- >
-s -w
-X github.com/oom-ai/oomstore/version.Version={{.Version}}
-X github.com/oom-ai/oomstore/version.Commit={{.Commit}}
-X github.com/oom-ai/oomstore/version.Built={{.CommitDate}}
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
Expand Down

0 comments on commit 9f7e1a3

Please sign in to comment.