feat: show version on website

Signed-off-by: skidoodle <contact@albert.lol>
This commit is contained in:
2026-01-19 01:31:28 +01:00
parent 2bcf339408
commit f0336b21b8
6 changed files with 39 additions and 4 deletions
+5 -1
View File
@@ -4,6 +4,9 @@ before:
hooks:
- go mod tidy
snapshot:
version_template: "{{ .Version }}"
builds:
- env:
- CGO_ENABLED=0
@@ -13,7 +16,8 @@ builds:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
- -s -w
- -X github.com/skidoodle/safebin/internal/app.Version={{.Version}}
flags:
- -trimpath