A collection of internal taps used by GoCardless
-
Get the latest release URL for the library you want to upgrade. Example:
https://github.com/gocardless/crank/releases/latest
-
Update the
release
value in theurl
. -
Generate a checksum for release files. Note: Some releases already contain a file with checksums. If that is the case the checksum should be obtained from there. Otherwise follow the steps below.
-
Download the required file using the URL from Step 1.
-
Calculate its SHA256 by running:
$ shasum -a 256 <name_of_the_file>
-
-
Update the
sha256
value in the Formula file.
Note: If the Formula has operating systems dependent versions, the hash needs to be calculated for each of them.
Make sure to test if the Formula has been upgraded properly. Run the following command from the repository directory:
brew install Formula/<upgraded_formula>.rb