mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
e8c8a2832f
* feat: improve universal binaries on krew/brew/gofish Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * test: OnlyReplacingUnibins Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * fix: archive Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * fix: do not replace single-arch Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
30 lines
682 B
Plaintext
30 lines
682 B
Plaintext
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class Unibin < Formula
|
|
desc ""
|
|
homepage ""
|
|
version "1.0.1"
|
|
depends_on :macos
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://dummyhost/download/v1.0.1/bin_amd64.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "unibin"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://dummyhost/download/v1.0.1/bin_arm64.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "unibin"
|
|
end
|
|
end
|
|
end
|
|
end
|