mirror of
https://github.com/skidoodle/safebin.git
synced 2026-04-28 03:07:41 +02:00
feat: show version on website
Signed-off-by: skidoodle <contact@albert.lol>
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user