Closed Jeff-Tian closed 1 month ago
Found a temp workaround:
brew tap LEGO/assume-aws-sso-role git@github.com:LEGO/assume-aws-sso-role.git
brew install LEGO/assume-aws-sso-role/assume-aws-sso-role
IMHO there are two correct (for some definition of "correct" 😄) ways of handling the naming convention stuff: Either update the README to describe @LarsPede's solution (which is not a workaround, but the exact way to use repos with non-brew-compliant naming) or create a separate repo with the homebrew-
name prefix, only containing the Homebrew stuff (e.g. the formula), thus enabling the short form of install
et al.
The latter seems to be a popular way of structurizing taps. I like that approach, since it keeps the "actual" project separate from the Homebrew specific stuff. It might require the release job in CI/CD to compress the shell script file, at least as far as I have seen in the examples, but I'm not sure. If it is required then it should not be a showstopper 😄.
And now I noticed that I forgot to look into a PR that @jhd-lego created a long time ago with the change to the README that I just suggested 😄. I have approved the PR.
Closed this issue since the "new" way to install via Homebrew is now described in the README.
Maybe we should rename this repo name to
homebrew-assume-aws-sso-role
?