summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Muehlhaeuser <muesli@gmail.com>2020-10-06 18:46:52 +0200
committerChristian Muehlhaeuser <muesli@gmail.com>2020-10-06 18:46:52 +0200
commit281426270c86c1d8d2e04522895e4d6535752041 (patch)
tree161251f796ad89210467591daea592a2ebbba1f5
parent66caa28d64656e22f24a45b58e9c6501ee410be2 (diff)
Enable brew Linux builds in the charmbracelet/tapv1.0.0
-rw-r--r--.goreleaser.yml39
1 files changed, 12 insertions, 27 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 47eb66a..a8cec2e 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -2,16 +2,16 @@ env:
- GO111MODULE=on
before:
hooks:
- - go mod download
+ - go mod download
builds:
- -
- id: "glow"
+ - id: "glow"
binary: glow
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- #- freebsd
- #- windows
+ # - freebsd
+ - darwin
+ # - windows
goarch:
- amd64
- arm64
@@ -20,14 +20,6 @@ builds:
goarm:
- 6
- 7
- -
- id: "darwin"
- binary: "glow"
- ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
- goos:
- - darwin
- goarch:
- - amd64
archives:
- id: default
@@ -38,19 +30,13 @@ archives:
format: zip
replacements:
windows: Windows
- 386: i386
- amd64: x86_64
- - id: darwin
- builds:
- - darwin
- replacements:
darwin: Darwin
+ 386: i386
amd64: x86_64
nfpms:
- -
- builds:
- - glow
+ - builds:
+ - glow
vendor: charmbracelet
homepage: "https://charm.sh/"
@@ -63,8 +49,7 @@ nfpms:
bindir: /usr/bin
brews:
- - ids:
- - darwin
+ - goarm: 6
tap:
owner: charmbracelet
name: homebrew-tap
@@ -79,12 +64,12 @@ signs:
- artifacts: checksum
checksum:
- name_template: 'checksums.txt'
+ name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- - '^docs:'
- - '^test:'
+ - "^docs:"
+ - "^test:"