mirror of
https://github.com/lovelaze/nebula-sync.git
synced 2025-11-05 18:29:19 +01:00
Tag binaries with version, do not use deprecated goreleaser functions
This commit is contained in:
committed by
lovelaze
parent
c028f338f0
commit
8e20b03261
+5
-3
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user