1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: set bottle unneeded (#1089)

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2019-07-20 14:27:25 -03:00 committed by GitHub
parent 636f607053
commit 954638d5c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class {{ .Name }} < Formula
desc "{{ .Desc }}"
homepage "{{ .Homepage }}"
version "{{ .Version }}"
bottle :unneeded
if OS.mac?
{{- if .MacOS.DownloadURL }}

View File

@ -3,6 +3,7 @@ class CustomBlock < Formula
desc "A run pipe test formula and FOO=foo_is_bar"
homepage "https://github.com/goreleaser"
version "1.0.1"
bottle :unneeded
if OS.mac?
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz"

View File

@ -3,6 +3,7 @@ class CustomDownloadStrategy < Formula
desc "A run pipe test formula and FOO=foo_is_bar"
homepage "https://github.com/goreleaser"
version "1.0.1"
bottle :unneeded
if OS.mac?
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy

View File

@ -4,6 +4,7 @@ class CustomRequire < Formula
desc "A run pipe test formula and FOO=foo_is_bar"
homepage "https://github.com/goreleaser"
version "1.0.1"
bottle :unneeded
if OS.mac?
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz", :using => CustomDownloadStrategy

View File

@ -3,6 +3,7 @@ class Default < Formula
desc "A run pipe test formula and FOO=foo_is_bar"
homepage "https://github.com/goreleaser"
version "1.0.1"
bottle :unneeded
if OS.mac?
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz"

View File

@ -3,6 +3,7 @@ class GithubEnterpriseUrl < Formula
desc "A run pipe test formula and FOO=foo_is_bar"
homepage "https://github.com/goreleaser"
version "1.0.1"
bottle :unneeded
if OS.mac?
url "http://github.example.org/test/test/releases/download/v1.0.1/bin.tar.gz"

View File

@ -3,6 +3,7 @@ class Test < Formula
desc "Some desc"
homepage "https://google.com"
version "0.1.3"
bottle :unneeded
if OS.mac?
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"