-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitkraken 1.0.0 #20277
gitkraken 1.0.0 #20277
Conversation
version '0.9.2' | ||
sha256 '810654fcf0813552f4cd7ee6032440f1e7072d3f2bb2442c3d02e484fed2d345' | ||
version '1.0.0' | ||
sha256 '3f93b84ea57d58396d759f9882be0275fdf370baba457e463edb5c40b060caad' | ||
|
||
url "http://release.gitkraken.com/darwin/v#{version}.zip" | ||
appcast 'https://release.gitkraken.com/darwin/RELEASES', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating the :checkpoint
value in appcast
is required. You can find it with curl --silent --compressed "{{appcast_url}}" | sed 's|<pubDate>[^<]*</pubDate>||g' | shasum --algorithm 256 | awk '{ print $1 }'
.
Alternatively, you may wish to use cask-repair
. It can at once update the cask’s version (according to what you give it) taking care of updating both the cask’s sha256
and the appcast’s :checkpoint
, while still giving you the chance to perform other manual fixes.
You can easily install it with brew install vitorgalvao/tiny-scripts/cask-repair
. cask-repair --help
will show you some options, but as a whole the script will guide you through the update process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. It would help for this check to be added to brew cask audit
. Could cask-repair
be added to homebrew-cask
?
77708dc
to
52edbd4
Compare
It would. We’re in dire need of a PR.
In what sense? |
Thanks for merging. Sorry that I'm not able to contribute the time to make the PR. =(
Add a |
I thought about that before, but |
Changes to a cask
Editing an existing cask
brew cask audit --download {{cask_file}}
is error-free.brew cask style --fix {{cask_file}}
left no offenses.