2014-11-12 homebrew cask : updating an existing cask

  • A new version of owncloud is out, I will try today to push that new infomation to http://caskroom.io/
  • I will base things on my contribution,
    though now phinze-cask paths are now brew-cask.
  • set-up variables
    cd $(brew --prefix)/Library/Taps/caskroom/homebrew-cask
    git remote -v
  • creating a new branch for his project
    git branches
    git remote add $github_user https://github.com/$github_user/homebrew-cask
    git checkout remotes/origin/$project -b $project
  • finding my information
    cd /tmp
    wget https://download.owncloud.com/desktop/stable/ownCloud-
    sha256sum ownCloud-
    brew cask edit owncloud
    brew cask install owncloud
    brew cask audit $project  --download
  • publishing results
    git status
    git commit -v
    git push $github_user $project
  • confirm the pull request
    open https://github.com/$github_user/homebrew-cask
  • come back to the master branch
    git checkout master
  • in the meanwhile, the change has been merged and (after some corrections) got approval: owncloud is now updated!


Comments powered by Disqus