1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-25 21:39:02 +02:00

Fix deprecated methods in goreleaser.yml

See: https://github.com/goreleaser/goreleaser/pull/787  
and  
https://github.com/goreleaser/goreleaser/pull/1282
This commit is contained in:
gardar 2020-01-15 01:14:38 +00:00 committed by Alec Thomas
parent 0f6a31d4cd
commit 498eaa690f

View File

@ -3,28 +3,30 @@ release:
github: github:
owner: alecthomas owner: alecthomas
name: chroma name: chroma
brew: brews:
install: bin.install "chroma" -
install: bin.install "chroma"
builds: builds:
- goos: - goos:
- linux - linux
- darwin - darwin
- windows - windows
goarch: goarch:
- amd64 - amd64
- "386" - "386"
goarm: goarm:
- "6" - "6"
main: ./cmd/chroma/main.go main: ./cmd/chroma/main.go
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: chroma binary: chroma
archive: archives:
format: tar.gz -
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ format: tar.gz
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}' .Arm }}{{ end }}'
files: files:
- COPYING - COPYING
- README* - README*
snapshot: snapshot:
name_template: SNAPSHOT-{{ .Commit }} name_template: SNAPSHOT-{{ .Commit }}
checksum: checksum: