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

@ -3,7 +3,8 @@ release:
github:
owner: alecthomas
name: chroma
brew:
brews:
-
install: bin.install "chroma"
builds:
- goos:
@ -18,7 +19,8 @@ builds:
main: ./cmd/chroma/main.go
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: chroma
archive:
archives:
-
format: tar.gz
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'