Skip to content
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

Please include macos in the release asset names #414

Open
plu opened this issue Feb 20, 2025 · 0 comments
Open

Please include macos in the release asset names #414

plu opened this issue Feb 20, 2025 · 0 comments

Comments

@plu
Copy link

plu commented Feb 20, 2025

Hi,

it would be great if the release asset names could include the word macos.

This would enable installing xcodes via mise using the ubi backend.

Currently it fails because it expects assets in GitHub releases for macOS to have macos (or darwin or osx, see also) in their name.

Currently it fails:

$ mise use ubi:XcodesOrg/xcodes
mise ERROR failed to install ubi:XcodesOrg/[email protected]
mise ERROR Failed to install with ubi 'ubi:XcodesOrg/[email protected]': could not find a release asset for this OS (macos) from xcodes-1.6.0.arm64_mojave.bottle.tar.gz, xcodes-1.6.0.mojave.bottle.tar.gz, xcodes.zip
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

To demonstrate how it works, I have create another repo that has these assets:

  • xcodes-1.6.0.macos.arm64.tar.gz
  • xcodes-1.6.0.macos.i386.tar.gz

That one you can install successfully:

$ mise use ubi:plu/xcodes
mise Installed executable into /Users/johannes.plunien/.local/share/mise/installs/ubi-plu-xcodes/1.6.0/xcodes
mise ubi:plu/[email protected]       ✓ installed
mise ~/.config/mise/config.toml tools: ubi:plu/[email protected]
$ which xcodes
/Users/johannes.plunien/.local/share/mise/installs/ubi-plu-xcodes/1.6.0/xcodes
$ xcodes version
1.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant