mirror of
https://github.com/lovelaze/nebula-sync.git
synced 2025-11-05 18:29:19 +01:00
58 lines
820 B
YAML
58 lines
820 B
YAML
version: 2
|
|
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s
|
|
- -w
|
|
- -X github.com/lovelaze/nebula-sync/version.Version={{ .Tag }}
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
|
|
goarm:
|
|
- 6
|
|
- 7
|
|
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: arm
|
|
- goos: windows
|
|
goarch: arm
|
|
|
|
upx:
|
|
- enabled: true
|
|
goos: [linux]
|
|
compress: best
|
|
lzma: true
|
|
brute: true
|
|
|
|
archives:
|
|
- formats: ['tar.gz']
|
|
format_overrides:
|
|
- goos: windows
|
|
formats: ['zip']
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
version_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
- "^typo:"
|