- create a new repository called
homebrew-tap-your_app - run
git initand put the empty repository in Github - create a new branch and run
brew create --tap=USER/REPO --go https://github.com/user/repo/archive/vA.I.P.tar.gz(where A is Major, I is Minor and P is Patch version... obviously 😜) to create a new pre-gen formula in your empty project. - Make sure the
urlin the pre-gen formula looks likehttps://github.com/user/repo/archive/refs/tags/vA.I.P.tar.gz - If
brew createdoesn't already, copy thesha256that gets stuck in your terminal output in the field forsha256 - push that shit and open a PR
- AFTER those are done, add the
pr-pulllabel and wait for that action to run - this will add the bottles specified in the test-bot action intests.yml(you don't have to update those SHAs on your own... dont panic) - If it didn't blow up, you're donezo!
- create a branch in the https://github.com/onelogin/homebrew-tap-onelogin repo called
vA.I.P - update the url to point to the latest version of your go build (usually
https://github.com/user/repo/archive/refs/tags/vA.I.P.tar.gz). - run this
curl https://codeload.github.com/user/repo/tar.gz/vA.I.P | openssl sha256... I have no idea why it looks for the version from codeload but whatever, thats what brew do boo. - Copy/paste the sha256 output into the
sha256field (not the one in the bottles block) - Push that shit and open a PR
- Let the github actions run
- AFTER those are done, add the
pr-pulllabel and wait for that action to run - this will add the bottles specified in the test-bot action intests.yml(you don't have to update those SHAs on your own... dont panic) - If it didn't blow up, you're donezo!