Skip to content

Commit

Permalink
Merge pull request Homebrew#155107 from chenrui333/bump-bookwright-3.0.0
Browse files Browse the repository at this point in the history
bookwright 3.0.0
  • Loading branch information
BrewTestBot authored Sep 14, 2023
2 parents ed5d846 + 52ed805 commit f7304dd
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Casks/b/bookwright.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
cask "bookwright" do
version "2.5.4"
sha256 "d2718a2b18d6721ac32a170e04a6ca249e33d149d0cd3a79913769031295268e"
version "3.0.0"
sha256 "2f17ea5af9a08eceb5a6828c405adc67af0e9f947e41958e5f6f4ff49df66a7e"

url "https://software.blurb.com/bookwright_v#{version.major}/#{version}/BookWright.dmg"
url "https://software.blurb.com/bookwright_v2/#{version}/BookWright.dmg"
name "bookwright"
desc "Make a book with this tool and the Blurb printing service"
homepage "https://www.blurb.com/bookwright"

# If this URL only provides information for a specific major version, this
# check will be unable to detect new major versions and these will need to
# be identified manually outside of livecheck. In that scenario, the check
# should theoretically work as expected again after updating the cask version.
# The major version has not yet been updated in
# either the download url or the livecheck url.
livecheck do
url "https://www.blurb.com/bookwright_v#{version.major}/versions.json"
url "https://www.blurb.com/bookwright_v2/versions.json"
regex(/["']version["']:\s*?["']v?(\d+(?:\.\d+)+)["']/i)
end

Expand Down

0 comments on commit f7304dd

Please sign in to comment.