docs/packaging/brew/README.md
Welcome to the documentation about packaging HTTPie for Homebrew.
This document contains technical details, where we describe how to create a patch for the latest HTTPie version for Homebrew. They apply to Linuxbrew as well. We will discuss setting up the environment, installing development tools, installing and testing changes before submitting a patch downstream.
The brew deployment is completely automated, and only requires a trigger to Release on Homebrew action
from the release manager.
If it is needed to be done manually, the following command can be used:
$ brew bump-formula-pr httpie --version={TARGET_VERSION}
which will bump the formula, and create a PR against the package index.
Make your changes, test the formula through the Test Brew Package action
and then finally submit your patch to homebrew-core