- Install Homebrew via instructions at http://brew.sh
- Delete previous installation of eXist at
/Applications/eXist-db.app
(if present), because Homebrew will refuse to install over a non-Homebrew installation. - Install eXist via:
$ brew cask install exist-db
You will see output like this:
==> Satisfying dependencies
==> Downloading https://bintray.com/artifact/download/existdb/releases/eXist-db-3.4.1.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask exist-db
==> Installing Cask exist-db
==> Moving App 'eXist-db.app' to '/Applications/eXist-db.app'.
🍺 exist-db was successfully installed!
$ brew update
$ brew cask reinstall exist-db
You will see output like this:
==> Satisfying dependencies
==> Downloading https://bintray.com/artifact/download/existdb/releases/eXist-db-3.4.1.dmg
Already downloaded: /Users/joe/Library/Caches/Homebrew/Cask/exist-db--3.4.1.dmg
==> Verifying checksum for Cask exist-db
==> Uninstalling Cask exist-db
==> Removing App '/Applications/eXist-db.app'.
==> Installing Cask exist-db
==> Moving App 'eXist-db.app' to '/Applications/eXist-db.app'.
🍺 exist-db was successfully installed!
$ brew cask info exist-db
exist-db: 3.4.1
https://exist-db.org/exist/apps/homepage/index.html
/usr/local/Caskroom/exist-db/3.4.1 (51.0KB)
From: https://github.com/caskroom/homebrew-cask/blob/master/Casks/exist-db.rb
==> Name
eXist-db
==> Artifacts
eXist-db.app (app)
$ brew cask uninstall exist-db
==> Uninstalling Cask exist-db
==> Removing App '/Applications/eXist-db.app'.
- Install
cask-repair
using directions at https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask - Enter
cask-repair exist-db
(as below) - Enter new version number when prompted (as below,
3.4.0
) - Enter
y
to confirm details of draft PR (as below; details should be correct if version number was correct) - PR will be automatically submitted; wait for PR to be merged before notifying exist-open
$ cask-repair exist-db
Updating taps… Updated 1 tap (homebrew/core).
No changes to formulae.
A `joewiz` remote does not exist. Creating it now…
Updating joewiz
From https://github.com/caskroom/homebrew-cask
* [new branch] master -> joewiz/master
new remote: joewiz
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cask 'exist-db' do
version '3.4.0'
sha256 '40275a5e997f2e35166eec7c31faec06641ce9a8a1db487e0ef7883ed16902d5'
# bintray.com/artifact/download/existdb was verified as official when first introduced to the cask
url "https://bintray.com/artifact/download/existdb/releases/eXist-db-#{version}.dmg"
name 'eXist-db'
homepage 'https://exist-db.org/exist/apps/homepage/index.html'
app 'eXist-db.app'
end
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Type the new version (or leave blank to use current one, or use `s` to skip)
> 3.4.1
==> Downloading external files for Cask exist-db
==> Downloading https://bintray.com/artifact/download/existdb/releases/eXist-db-3.4.1.dmg
######################################################################## 100.0%
==> No checksum defined for Cask exist-db, skipping verification
==> Success! Downloaded to -> /Users/joe/Library/Caches/Homebrew/Cask/exist-db--3.4.1.dmg
diff --git a/Casks/exist-db.rb b/Casks/exist-db.rb
index 99f7887e69..3f824fe61b 100644
--- a/Casks/exist-db.rb
+++ b/Casks/exist-db.rb
@@ -1,6 +1,6 @@
cask 'exist-db' do
- version '3.4.0'
- sha256 '40275a5e997f2e35166eec7c31faec06641ce9a8a1db487e0ef7883ed16902d5'
+ version '3.4.1'
+ sha256 'c4e00257a8de538f68615f211d8fca1c7e835779d5b70dcc37db563acd4e4647'
# bintray.com/artifact/download/existdb was verified as official when first introduced to the cask
url "https://bintray.com/artifact/download/existdb/releases/eXist-db-#{version}.dmg"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Is everything correct? ([y]es / [n]o / [e]dit) y
Submitting…
You can upgrade the cask right now from your personal branch:
brew cask reinstall https://raw.githubusercontent.com/joewiz/homebrew-cask/cask_repair_update-exist-db/Casks/exist-db.rb
Submitted (https://github.com/caskroom/homebrew-cask/pull/37729)