glow/.goreleaser.yml
2019-12-21 00:18:44 +01:00

71 lines
1.3 KiB
YAML

env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
id: "glow"
binary: glow
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 7
nfpm:
vendor: charmbracelet
homepage: "https://charm.sh/"
maintainer: "Christian Muehlhaeuser <muesli@gmail.com>"
description: "Render markdown on the CLI"
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
brews:
-
ids:
- glow
github:
owner: charmbracelet
name: homebrew-tap
commit_author:
name: "Christian Muehlhaeuser"
email: "muesli@gmail.com"
homepage: "https://charm.sh/"
description: "Render markdown on the CLI"
# skip_upload: true
sign:
artifacts: checksum
archives:
-
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'