I have a formula that is hosted on GitHub, which users can install using:
brew install --HEAD org/repo/package
The formula is quite simple. It clones another GitHub repository, runs a build script, then marks a directory as
The source repository has tags for versioning. I would like to add these tags as versions in the Homebrew formula, but all of the examples I have seen are using hashed zips.
The end result should be that
--HEAD still works, but by default running
brew install org/repo/package will just install the latest version.
What is the syntax for adding these versions to my formula?