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 }}"