generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from oracle/bh/GCN-3517
[GCN-3517] Update gcn-cli homebrew cask
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
cask 'gcn' do | ||
arch arm: 'aarch64', intel: 'amd64' | ||
version '4.0.7' | ||
sha256 arm: 'fac59e5b8b7c2f593cd258a16c242153251892b1e8e8bbae3309d58fa30a2718', | ||
intel: '32ebab2e1b6c0f6899a40beeaf09ea45710a0194bcb2ae2168ac9554f6ac1fba' | ||
|
||
version '4.2.1' | ||
sha256 arm: '0ca0b25d760ae1c5faa1bbea4b3174b8ec5d35b4a5012dd584b685b3634b9ff5', | ||
intel: 'cac348f3f34318d624c99ebc22224354ca44f384e3cc77bda4249d765ebefbe8' | ||
|
||
url "https://github.com/oracle/gcn/releases/download/#{version}/gcn-cli-#{version}-macos-#{arch}.tar.gz" | ||
appcast 'https://github.com/oracle/gcn/releases.atom' | ||
name 'Graal Cloud Native' | ||
homepage 'https://www.graal.cloud/gcn/' | ||
|
||
binary "gcn-cli-#{version}-macos-#{arch}/gcn" | ||
caveats <<~EOS | ||
On macOS Catalina or later, you may get a warning when you use the Graal Cloud | ||
Native installation for the first time. This warning can be disabled by running | ||
the following command: | ||
sudo xattr -d com.apple.quarantine "#{staged_path}/gcn-cli-#{version}-macos-#{arch}/gcn" | ||
Graal Cloud Native is licensed under the Apache License Version 2.0: | ||
https://github.com/oracle/gcn/blob/main/LICENSE.txt | ||
EOS | ||
end |