Skip to content

Commit

Permalink
Goreleaser: format default zip, override to binary
Browse files Browse the repository at this point in the history
This is the wrong way round, it should default to binary as that's what
most of the OS's are and just set the zip override for `darwin`.

Watch this issue for updates:
goreleaser/goreleaser#720
  • Loading branch information
tombh committed Jul 11, 2018
1 parent 3cc5485 commit b8d031e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ interfacer/browsh
webextension.go
webext/node_modules
webext/dist/*

dist
17 changes: 10 additions & 7 deletions interfacer/src/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ builds:
post: ../contrib/upx_compress_binary.sh

archive:
format: binary
format_overrides:
- goos: windows
format: binary
- goos: linux
format: binary
- goos: freebsd
format: binary

nfpm:
vendor: Browsh
homepage: https://brow.sh
homepage: https://www.brow.sh
maintainer: Thomas Buckley-Houston <[email protected]>
description: A fully interactive, realtime and modern browser rendered to TTY
description: The modern, text-based browser
license: GPL v3
formats:
- deb
Expand All @@ -30,13 +36,10 @@ nfpm:
dependencies:
- firefox

release:
disable: true

brew:
name: browsh

# Reporitory to push the tap to.
# Repository to push the tap to.
github:
owner: browsh-org
name: homebrew-browsh
Expand Down

0 comments on commit b8d031e

Please sign in to comment.