mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 02:16:40 +00:00
35 lines
591 B
YAML
35 lines
591 B
YAML
project_name: casecmp
|
|
builds:
|
|
- main: main.go
|
|
binary: casecmp
|
|
flags: -a
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- darwin
|
|
- freebsd
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- 386
|
|
- 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:
|
|
short_hash: true
|
|
snapshot:
|
|
name_template: snapshot-{{.Commit}}
|