Skip to content

Commit

Permalink
fix: 未正确传入数值
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsSov8forUs committed Jun 20, 2024
1 parent 27d6ccf commit bf13bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X version.Version={{ .Env.GIT_TAG }}
- -s -w -X github.com/WindowsSov8forUs/go-kyutorin/version.Version={{ .Version }}
ignore:
- goos: darwin
goarch: arm
Expand All @@ -48,7 +48,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X version.Version={{ .Env.GIT_TAG }}
- -s -w -X github.com/WindowsSov8forUs/go-kyutorin/version.Version={{ .Version }}

archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
Expand Down

0 comments on commit bf13bbd

Please sign in to comment.