Thanks for your interest in contributing to our Cloudsmith Homebrew tap! We welcome contributions that help improve the installation and usage of the Cloudsmith CLI via Homebrew.
git clone https://github.com/cloudsmith-io/homebrew-cloudsmith-cli.git
cd homebrew-cloudsmith-cliUse this to build and test the formula from source:
brew install --build-from-source ./Formula/cloudsmith-cli.rbTo uninstall and reinstall:
brew uninstall cloudsmith-cli
brew install --build-from-source ./Formula/cloudsmith-cli.rbEnsure your formula passes linting and validation:
brew audit --strict --online ./Formula/cloudsmith-cli.rbWhen a new version of the Cloudsmith CLI is released:
- Update the
urlandsha256inFormula/cloudsmith-cli.rb. - You can generate the SHA256 like this:
curl -L -o tmp.tar.gz https://github.com/cloudsmith-io/cloudsmith-cli/archive/refs/tags/<VERSION>.tar.gz
shasum -a 256 tmp.tar.gz- Update the formula and commit:
git add Formula/cloudsmith-cli.rb
git commit -m "Bump cloudsmith-cli to <VERSION>"
git pushIf you're unsure about something, feel free to open a GitHub issue or contact support@cloudsmith.io.