Skip to content

Commit

Permalink
Update sapmachine-jdk to 11.0.2 (#58377)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreya authored and reitermarkus committed Feb 7, 2019
1 parent 6ba56f9 commit 1316a3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Casks/sapmachine-jdk.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cask 'sapmachine-jdk' do
version '11.0.1,13-0'
sha256 '600fc431d96fbc0b22a3cb160a1b1fbe878b887efd5be99668f3cf9677aa11cc'
version '11.0.2'
sha256 'c17526aca0891ab291916faeca7a6cdcef77d63de8acb8362c1af0eb95a9c680'

url "https://github.com/SAP/SapMachine/releases/download/sapmachine-#{version.before_comma}+#{version.after_comma}/sapmachine-jdk-#{version.before_comma}.#{version.after_comma.split('-').first}_osx-x64_bin.tar.gz"
appcast "https://sap.github.io/SapMachine/latest/#{version.before_comma}"
url "https://github.com/SAP/SapMachine/releases/download/sapmachine-#{version}/sapmachine-jdk-#{version}_osx-x64_bin.tar.gz"
appcast "https://sap.github.io/SapMachine/latest/#{version.major}"
name 'SapMachine Java Development Kit'
homepage 'https://github.com/SAP/SapMachine'

artifact "sapmachine-jdk-#{version.before_comma}.jdk", target: "/Library/Java/JavaVirtualMachines/sapmachine-jdk-#{version.before_comma}.jdk"
artifact "sapmachine-jdk-#{version}.jdk", target: "/Library/Java/JavaVirtualMachines/sapmachine-jdk-#{version}.jdk"

uninstall rmdir: '/Library/Java/JavaVirtualMachines'
end

0 comments on commit 1316a3a

Please sign in to comment.