27 lines
580 B
YAML
27 lines
580 B
YAML
|
builds:
|
||
|
- binary: minify
|
||
|
main: ./cmd/minify/
|
||
|
ldflags: -s -w -X main.Version={{.Version}} -X main.Commit={{.Commit}} -X main.Date={{.Date}}
|
||
|
goos:
|
||
|
- windows
|
||
|
- linux
|
||
|
- darwin
|
||
|
goarch:
|
||
|
- amd64
|
||
|
- 386
|
||
|
- arm
|
||
|
- arm64
|
||
|
archive:
|
||
|
format: tar.gz
|
||
|
format_overrides:
|
||
|
- goos: windows
|
||
|
format: zip
|
||
|
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}_{{.Arch}}"
|
||
|
files:
|
||
|
- README.md
|
||
|
- LICENSE.md
|
||
|
snapshot:
|
||
|
name_template: "devel"
|
||
|
release:
|
||
|
draft: true
|