build w/ go1.25 (#886)

Reviewed-on: https://gitea.com/gitea/tea/pulls/886
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-committed-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:
techknowlogick
2026-02-04 19:27:25 +00:00
committed by techknowlogick
parent a47ac265d2
commit 29488a1f46
5 changed files with 108 additions and 54 deletions

View File

@@ -58,7 +58,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X code.gitea.io/tea/cmd.Version={{ .Version }}
- -s -w -X "code.gitea.io/tea/cmd.Version={{ trimprefix .Summary "v" }}" -X "code.gitea.io/tea/cmd.Tags=" -X "code.gitea.io/tea/cmd.SDK={{ .Env.SDK_VERSION }}"
binary: >-
{{ .ProjectName }}-
{{- .Version }}-