1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-05 13:05:18 +02:00
chroma/.goreleaser.yml

38 lines
722 B
YAML
Raw Normal View History

2017-09-25 16:34:49 +10:00
project_name: chroma
release:
github:
owner: alecthomas
name: chroma
brews:
-
install: bin.install "chroma"
env:
- CGO_ENABLED=0
2017-09-25 16:34:49 +10:00
builds:
- goos:
- linux
- darwin
- windows
2017-09-25 16:34:49 +10:00
goarch:
2021-06-21 15:34:57 +09:30
- arm64
- amd64
- "386"
2017-09-25 16:34:49 +10:00
goarm:
- "6"
dir: ./cmd/chroma
main: .
2017-09-25 16:34:49 +10:00
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
2017-09-25 18:14:24 +10:00
binary: chroma
archives:
-
format: tar.gz
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{
2017-09-25 16:34:49 +10:00
.Arm }}{{ end }}'
files:
- COPYING
- README*
2017-09-25 16:34:49 +10:00
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
2017-09-25 18:14:24 +10:00
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'