-
Notifications
You must be signed in to change notification settings - Fork 1
chore: bump rute-bayar to v0.1.9 #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,26 @@ | ||
| class RuteBayar < Formula | ||
| desc "Payment router CLI and webhook daemon for Indonesian payment gateways" | ||
| homepage "https://github.com/pendig/rute-bayar" | ||
| version "0.1.8" | ||
| version "0.1.9" | ||
| license "MIT" | ||
|
|
||
| on_macos do | ||
| if Hardware::CPU.arm? | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-darwin-arm64" | ||
| sha256 "f01ede6cab4b3f432295fd5bd7368701a279bab552094ee1525ca54d5e6dca6e" | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v\#{version}/rutebayar-darwin-arm64" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because the Useful? React with 👍 / 👎. |
||
| sha256 "77c01a4bf43b034acb49d6d5837a6bc3c6f7b1c4538fde7847ca580d94c33104" | ||
| else | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-darwin-amd64" | ||
| sha256 "a04c56c75bdd92775cdad5aaaa7aa06b521f663523b96bd45a5190478bffa175" | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v\#{version}/rutebayar-darwin-amd64" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The backslash before the url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-darwin-amd64" |
||
| sha256 "c50d84a732ed9edc3c5ef8cc0c5816a4b77e9daa583f62d3a969894c0c3dece6" | ||
| end | ||
| end | ||
|
|
||
| on_linux do | ||
| if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-linux-arm64" | ||
| sha256 "aa6aa2a8454192e879da7d2ff4ee97e1b51f5669b11c9f0cfd508a0cffb3896a" | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v\#{version}/rutebayar-linux-arm64" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The backslash before the url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-linux-arm64" |
||
| sha256 "2b3726e0d46c114e41c97f868801840277a067aaabed8ff4a3dd62124f6817c9" | ||
| else | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-linux-amd64" | ||
| sha256 "a0c7c48fe0467fff629689b5c4df6ad15ebe03a6bd174bdab2110022cc5bdf70" | ||
| url "https://github.com/pendig/rute-bayar/releases/download/v\#{version}/rutebayar-linux-amd64" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The backslash before the url "https://github.com/pendig/rute-bayar/releases/download/v#{version}/rutebayar-linux-amd64" |
||
| sha256 "628a4f22e55f78cd351a144f7aece2ba156fe6b5d6d80f8f1a4a4b21762a8d3e" | ||
| end | ||
| end | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backslash before the
#escapes the string interpolation in Ruby, which means the URL will literally contain#{version}instead of evaluating to0.1.9. This will cause the download to fail. Please remove the backslash to allow proper string interpolation.