Skip to content

Commit

Permalink
chore: 更新goreleaser配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Nov 9, 2024
1 parent 8ca9db5 commit 0c4067d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
- GO111MODULE=on
version: 2

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -69,13 +69,15 @@ changelog:

archives:
- id: binary
format: tar.gz
builds:
- win
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format_overrides:
- goos: windows
format: binary
- id: nowin
format: tar.gz
builds:
- nowin
- win
Expand Down

0 comments on commit 0c4067d

Please sign in to comment.