-
Notifications
You must be signed in to change notification settings - Fork 19
feat: add brew tap for oasis-cli #546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add brew tap for oasis-cli #546
Conversation
✅ Deploy Preview for oasisprotocol-cli ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
6ec59b2 to
82f48ec
Compare
| commit_author: | ||
| name: github-actions[bot] | ||
| email: github-actions[bot]@users.noreply.github.com | ||
| commit_msg_template: "chore(brew): update {{ .ProjectName }} to {{ .Tag }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with the homebrew_casks workflow. But making a commit directly to the main branch will not work due to the security policies. Why would you need to commit to the cli repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created a fix to open PRs instead trying to commit directly. more info on goreleaser homebrew_casks https://goreleaser.com/customization/homebrew_casks/
we need to commit to the cli repo (now with a PR) to let goreleaser auto‑add the updated Casks/oasis-cli.rb with each tag so brew users can brew upgrade --cask oasis-cli, without us maintaining a separate repo/tap
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this still go under the cli repo but to a separate branch? Similarly to how gh-pages branch is commonly used for the github pages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after searching a bunch, this doesn’t looks to be possible. Homebrew only clones the default branch ( origin/HEAD ) of a tap
feat: add oasis-cli brew cask/tap fix: latest goreleaser syntax fix: create prs for brew casks
3fc091f to
d5f5970
Compare
|
we have the cli in official homebrew formula now! Homebrew/homebrew-core#233862 closing this |
Resolves #326
this PR adds GoReleaser GitHub Action that builds and publishes tagged Oasis‑CLI releases. creates a Homebrew cask (Casks/oasis-cli.rb) in this repo, turning it into a tap.
the workflow auto‑updates the cask with each release and hosts macOS‑universal binaries. Mac devs can now
brew install --cask oasisprotocol/cli/oasis-cli(and later
brew upgrade --cask oasis-clito update).