Skip to content

mulesoft-labs/homebrew-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-tap

$ brew tap mulesoft-labs/tap
$ brew install aws-keycloak

Modifying formulae

  1. Create a Release (or Tag) for your source repo. Make sure it builds!
  2. In the formula here, update the url and sha256 with: curl -L $url | shasum -a256
  3. Delete or comment our the bottle do block.
  4. Make sure you don't have the formula installed already (eg. brew remove aws-keycloak)
  5. Test with brew install --verbose --debug HomebrewFormula/aws-keycloak.rb, see that it builds as expected. (I had to try this half a dozen times before the build was clean, not sure why)
  6. git commit, git push (merge to master), brew update
  7. Make sure it is not installed again (eg. brew remove aws-keycloak)
  8. Install it from your tap and build the bottle: brew install --build-bottle aws-keycloak (may need to run multiple times again).
  9. brew bottle aws-keycloak. Copy the output into your formula, but change the root_url to some place you can actually host the file, like a github release, eg. https://github.com/mulesoft-labs/aws-keycloak/releases/download/v1.3.6/
  10. Upload the generated tar.gz file to that location, like by attaching it to the gh release. Make sure to change the filename to get rid of the --! It should be $bin-$version.$os.bottle.tar.gz.
  11. Make sure it is not installed again.
  12. Test the bottle with brew install --force-bottle HomebrewFormula/aws-keycloak.rb.
  13. If it works, commit and push!
  14. Test by brew removeing it again, brew update, and brew install aws-keycloak. See that it uses the bottle rather than building.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages