mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 10:26:40 +00:00
Update .goreleaser.yml
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
|
project_name: casecmp
|
||||||
builds:
|
builds:
|
||||||
- main: main.go
|
- main: main.go
|
||||||
binary: casecmp
|
binary: casecmp
|
||||||
|
flags: -a
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
- freebsd
|
- freebsd
|
||||||
@@ -10,10 +14,21 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
- 386
|
- 386
|
||||||
- arm
|
- arm
|
||||||
|
goarm:
|
||||||
|
- 6
|
||||||
|
- 7
|
||||||
|
archive:
|
||||||
|
name_template: '{{ .ProjectName }}-{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
|
||||||
|
}}v{{ .Arm }}{{ end }}'
|
||||||
|
format: tar.gz
|
||||||
|
wrap_in_directory: true
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
format: zip
|
||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
- make clean
|
||||||
git:
|
git:
|
||||||
short_hash: true
|
short_hash: true
|
||||||
archive:
|
snapshot:
|
||||||
format: tar.gz
|
name_template: snapshot-{{.Commit}}
|
||||||
files:
|
|
||||||
- README.md
|
|
||||||
- LICENSE
|
|
||||||
|
|||||||
Reference in New Issue
Block a user