- Get the
url
of the distribution archive for the new release - Get the
sha256
of this archive (likeshasum -a 256 {archive}
)
- Fork https://github.com/Homebrew/homebrew
- Create a new branch
golo-{version}[-{milestone}]
- Edit
Library/Formula/golo.rb
with the url to the new distribution artifact and his sha256 - Commit with the message
golo {version}[-{milestone}]
- Propose the pull-request to Homebrew (the title must be as simple as
golo {version}[-{milestone}]
to facilitate the work of maintainers)
- instead of update the url/sha256, add (or update) the
devel
block to the formula with the url and his sha256
devel do
url "https://bintray.com/artifact/download/golo-lang/downloads/golo-{version}[-{milestone}].zip"
sha256 "{sha256 of the archive}"
version "golo-{version}[-{milestone}]"
end
- in addition of the update, remove the
devel
block to the formula
- When the wait is over, update homebrew on your own computer and
brew install golo
(orbrew install --devel golo
in case of milestone release)