mirror of
https://github.com/bit1001/tdl.git
synced 2024-09-20 06:35:54 +08:00
ci(goreleaser): add archive
This commit is contained in:
parent
9ad5369826
commit
df9f22f8a8
|
@ -3,8 +3,7 @@ dist: .tdl/dist
|
|||
env:
|
||||
- GO111MODULE=on
|
||||
builds:
|
||||
- binary: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||
env:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
flags:
|
||||
- -trimpath
|
||||
|
@ -30,7 +29,19 @@ builds:
|
|||
checksum:
|
||||
name_template: '{{ .ProjectName }}_checksums.txt'
|
||||
archives:
|
||||
- format: binary
|
||||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||
replacements:
|
||||
darwin: MacOS
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
386: 32bit
|
||||
amd64: 64bit
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
files:
|
||||
- README*.md
|
||||
- LICENSE
|
||||
changelog:
|
||||
use: github
|
||||
sort: asc
|
||||
|
|
Loading…
Reference in a new issue