Tag binaries with version, do not use deprecated goreleaser functions

This commit is contained in:
Fredrik Berntsson
2025-02-28 21:50:59 +01:00
committed by lovelaze
parent c028f338f0
commit 8e20b03261
+5 -3
View File
@@ -6,7 +6,9 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w
- -s
- -w
- -X github.com/lovelaze/nebula-sync/version.Version={{ .Tag }}
goos:
- linux
- windows
@@ -36,10 +38,10 @@ upx:
brute: true
archives:
- format: tar.gz
- formats: ['tar.gz']
format_overrides:
- goos: windows
format: zip
formats: ['zip']
checksum:
name_template: 'checksums.txt'