Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

fix homebrew sha256 warning #10437

Merged
merged 1 commit into from
Jun 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions scripts/generate_bottle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export SSUBPREFIX
hash=`openssl dgst -sha256 ${NAME}.tar.gz | awk 'NF>1{print $NF}'`

echo "class Eosio < Formula

# typed: false
# frozen_string_literal: true

homepage \"${URL}\"
revision 0
url \"https://github.com/eosio/eos/archive/v${VERSION}.tar.gz\"
Expand All @@ -46,12 +48,12 @@ echo "class Eosio < Formula
depends_on \"gettext\"
depends_on \"openssl@1.1\"
depends_on \"libusb\"
depends_on :macos => :mojave
depends_on :arch => :intel
depends_on macos: mojave
depends_on arch: :intel

bottle do
root_url \"https://github.com/eosio/eos/releases/download/v${VERSION}\"
sha256 \"${hash}\" => :${MAC_VERSION}
sha256 ${MAC_VERSION}: \"${hash}\"
end
def install
raise \"Error, only supporting binary packages at this time\"
Expand Down