mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-13 11:50:34 +02:00
fix(brew): remove deprecated bottle :unneeded
(#2591)
* fix(brew): Remove deprecated `bottle :unneeded` Fixes this warning from Homebrew: `Warning: Calling bottle :unneeded is deprecated! There is no replacement.` * fix(brew): fix regression that added newlines to formula
This commit is contained in:
parent
a2ff2b8dda
commit
ba9b75a095
@ -40,10 +40,9 @@ class {{ .Name }} < Formula
|
||||
desc "{{ .Desc }}"
|
||||
homepage "{{ .Homepage }}"
|
||||
version "{{ .Version }}"
|
||||
{{ if .License -}}
|
||||
{{- if .License }}
|
||||
license "{{ .License }}"
|
||||
{{ end -}}
|
||||
bottle :unneeded
|
||||
{{- end }}
|
||||
{{- if and (not .LinuxPackages) .MacOSPackages }}
|
||||
depends_on :macos
|
||||
{{- end }}
|
||||
|
@ -7,7 +7,6 @@ class Test < Formula
|
||||
homepage "https://google.com"
|
||||
version "0.1.3"
|
||||
license "MIT"
|
||||
bottle :unneeded
|
||||
|
||||
on_macos do
|
||||
if Hardware::CPU.intel?
|
||||
|
@ -6,7 +6,6 @@ class Test < Formula
|
||||
desc "Some desc"
|
||||
homepage "https://google.com"
|
||||
version "0.1.3"
|
||||
bottle :unneeded
|
||||
depends_on :linux
|
||||
|
||||
on_linux do
|
||||
|
@ -6,7 +6,6 @@ class Test < Formula
|
||||
desc "Some desc"
|
||||
homepage "https://google.com"
|
||||
version "0.1.3"
|
||||
bottle :unneeded
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ 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
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ 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
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -7,7 +7,6 @@ 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
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ 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
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ class DefaultGitlab < Formula
|
||||
desc "A run pipe test formula and FOO=foo_is_bar"
|
||||
homepage "https://gitlab.com/goreleaser"
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ class ValidTapTemplates < Formula
|
||||
desc "A run pipe test formula and FOO=templated"
|
||||
homepage ""
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ class Foo < Formula
|
||||
desc ""
|
||||
homepage ""
|
||||
version "1.2.1"
|
||||
bottle :unneeded
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ class MultipleArmv5 < Formula
|
||||
desc "A run pipe test formula and FOO=foo_is_bar"
|
||||
homepage "https://github.com/goreleaser"
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
|
||||
on_macos do
|
||||
if Hardware::CPU.intel?
|
||||
|
@ -6,7 +6,6 @@ class MultipleArmv6 < Formula
|
||||
desc "A run pipe test formula and FOO=foo_is_bar"
|
||||
homepage "https://github.com/goreleaser"
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
|
||||
on_macos do
|
||||
if Hardware::CPU.intel?
|
||||
|
@ -6,7 +6,6 @@ class MultipleArmv7 < Formula
|
||||
desc "A run pipe test formula and FOO=foo_is_bar"
|
||||
homepage "https://github.com/goreleaser"
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
|
||||
on_macos do
|
||||
if Hardware::CPU.intel?
|
||||
|
@ -6,7 +6,6 @@ class FooIsBar < Formula
|
||||
desc ""
|
||||
homepage ""
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
@ -6,7 +6,6 @@ class Unibin < Formula
|
||||
desc ""
|
||||
homepage ""
|
||||
version "1.0.1"
|
||||
bottle :unneeded
|
||||
depends_on :macos
|
||||
|
||||
on_macos do
|
||||
|
Loading…
x
Reference in New Issue
Block a user