Fix release version (#815)

Reviewed-on: https://gitea.com/gitea/tea/pulls/815
Reviewed-by: TheFox0x7 <thefox0x7@noreply.gitea.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Lunny Xiao
2025-09-11 19:18:19 +00:00
committed by techknowlogick
parent 45771265c4
commit 2ca114e309
2 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X main.Version={{ .Version }}
- -s -w -X code.gitea.io/tea/cmd.Version={{ .Version }}
binary: >-
{{ .ProjectName }}-
{{- .Version }}-