Skip to content

Commit

Permalink
Merge pull request #619 from arubdesu/add_archchoiceto_githubcli
Browse files Browse the repository at this point in the history
add ARCH option to githubcli
  • Loading branch information
homebysix authored Jan 2, 2024
2 parents 385f6b6 + b493273 commit 38eb3d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions GitHub/GitHubCLI.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of the GitHub command line tool.</string>
<string>Downloads the latest version of the GitHub command line tool.

Valid options for ARCH input variable are "amd64" for Intel (defualt) or "arm64" for Apple Silicon.</string>
<key>Identifier</key>
<string>com.github.homebysix.download.GitHubCLI</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>GitHub CLI</string>
<key>ARCH</key>
<string>amd64</string>
</dict>
<key>MinimumVersion</key>
<string>1.4.1</string>
Expand All @@ -19,7 +23,7 @@
<key>Arguments</key>
<dict>
<key>asset_regex</key>
<string>gh_[\d\.]+_macOS_amd64\.zip</string>
<string>gh_[\d\.]+_macOS_%ARCH%\.zip</string>
<key>github_repo</key>
<string>cli/cli</string>
</dict>
Expand Down

0 comments on commit 38eb3d7

Please sign in to comment.