From b8d031e4988e212089e868210bcfbce9af7646c2 Mon Sep 17 00:00:00 2001 From: Thomas Buckley-Houston Date: Wed, 11 Jul 2018 12:02:17 +0800 Subject: [PATCH] Goreleaser: format default zip, override to binary 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: https://github.com/goreleaser/goreleaser/issues/720 --- .gitignore | 2 +- interfacer/src/.goreleaser.yml | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 99ffd37..7ae0e8f 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ interfacer/browsh webextension.go webext/node_modules webext/dist/* - +dist diff --git a/interfacer/src/.goreleaser.yml b/interfacer/src/.goreleaser.yml index 70e70b1..ea773c5 100644 --- a/interfacer/src/.goreleaser.yml +++ b/interfacer/src/.goreleaser.yml @@ -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 - description: A fully interactive, realtime and modern browser rendered to TTY + description: The modern, text-based browser license: GPL v3 formats: - deb @@ -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