Skip to content

How to test formula before upstream release (case gitui) #6046

Answered by gromgit
peso asked this question in Everyday usage
Discussion options

You must be logged in to vote

If by "unreleased source code" you mean "straight from a local source tree", then that's not possible with Homebrew.

If you mean "HEAD commit", then submit a PR to add a head block to the core formula, then anyone (including CI) can:

brew install --head --source gitui
brew test gitui

If you mean "a GitHub prerelease" (Homebrew's CI generally doesn't touch these), then:

brew bump-formula-pr --version <new_version> --write-only gitui
brew install --source gitui
brew test gitui

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by peso
Comment options

You must be logged in to vote
1 reply
@p-linnane
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants