Posted at

Homebrew Cask の Cask を更新する

More than 3 years have passed since last update.

毎度やることは以下の通り。

ssh-add ~/.ssh/id_rsa

# use to update <outdated_cask>
outdated_cask='<the-cask-i-want-to-update>'
github_user='<my-github-username>'
cd "$(brew --repository)/Library/Taps/caskroom/homebrew-cask/Casks"

cask-repair --pull origin --push $github_user $outdated_cask

最初の1回は設定が必要: https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask