glow/.goreleaser.yml

91 lines
1.5 KiB
YAML
Raw Normal View History

env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
2019-12-20 21:47:47 +00:00
id: "glow"
binary: glow
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- freebsd
- windows
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
2019-12-20 23:31:02 +00:00
-
id: "darwin"
binary: "glow"
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- darwin
goarch:
- amd64
2019-12-20 23:57:02 +00:00
archives:
- id: default
builds:
- glow
2019-12-20 23:57:02 +00:00
format_overrides:
- goos: windows
format: zip
replacements:
windows: Windows
386: i386
amd64: x86_64
- id: darwin
builds:
- darwin
replacements:
darwin: Darwin
amd64: x86_64
2019-12-31 07:31:43 +00:00
nfpms:
-
builds:
- glow
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
2019-12-20 23:57:02 +00:00
brews:
2019-12-20 23:57:02 +00:00
- ids:
- darwin
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
2019-12-20 23:57:02 +00:00
2019-12-31 07:31:43 +00:00
signs:
- artifacts: checksum
2019-12-20 23:57:02 +00:00
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'