From bf13bbd7842e21407e34f48805e1c60096d8284c Mon Sep 17 00:00:00 2001 From: WindowsSov8forUs Date: Thu, 20 Jun 2024 09:16:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=AA=E6=AD=A3=E7=A1=AE=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=E6=95=B0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 256fd07..8ab6d77 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 @@ -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 }}"