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

fix homebrew sha256 warning #10428

Merged
merged 2 commits into from
Jun 17, 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
8 changes: 5 additions & 3 deletions scripts/generate_bottle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ 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
Expand All @@ -44,12 +46,12 @@ echo "class Eosio < Formula
depends_on \"openssl@1.1\"
depends_on \"libusb\"
depends_on \"libpqxx\"
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