Closed gggto closed 2 years ago
--force
brew update-reset && brew update
brew doctor
Battle for Wesnoth uses an even is stable, odd is dev versionning scheme. Currently, the last stable version is 1.16.2, while on homebrew it is 1.17.0, which I as just explained is the dev version.
To avoid this kind of errors in the future, the livecheck in https://github.com/Homebrew/homebrew-cask/blob/master/Casks/the-battle-for-wesnoth.rb could become something along the lines of regex(href=.*?Wesnoth[._-]v?(\d+(?:\.\d*[02468])+(?:\.\d+)*[a-z]?)\.dmg/i, which should have the expected behaviour.
regex(href=.*?Wesnoth[._-]v?(\d+(?:\.\d*[02468])+(?:\.\d+)*[a-z]?)\.dmg/i
none
--verbose --debug
brew doctor --verbose
brew tap
@gggto Please open a PR with your suggested change and we can discuss the implementation there.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Battle for Wesnoth uses an even is stable, odd is dev versionning scheme. Currently, the last stable version is 1.16.2, while on homebrew it is 1.17.0, which I as just explained is the dev version.
To avoid this kind of errors in the future, the livecheck in https://github.com/Homebrew/homebrew-cask/blob/master/Casks/the-battle-for-wesnoth.rb could become something along the lines of
regex(href=.*?Wesnoth[._-]v?(\d+(?:\.\d*[02468])+(?:\.\d+)*[a-z]?)\.dmg/i
, which should have the expected behaviour.Command that failed
none
Output of command with
--verbose --debug
Output of
brew doctor --verbose
Output of
brew tap