Skip to content

Cannot install prerelease version of an extension #4852

@heaths

Description

@heaths

Describe the bug

Using gh 2.3.0, despite the text about prereleases, you cannot install a prerelease test like gh extension install heaths/gh-label@v0.3.0-pre.1. It results in the error:

extension is uninstallable: missing executable

It would be great if we could install prerelease extensions.

Separately, as a 20+ year veteran of writing and supporting installation programs, "uninstallable" means something can be uninstalled. I think what you want here is "not installable" (I mentioned this in the original PR as well). As written this message is confusing because it's not even installed.

Steps to reproduce the behavior

  1. Use the cli/gh-extension-precompile@v1 action to build a binary extension
  2. Tag your repo with a prerelease semver and le the binaries get published
  3. Try to install the extension e.g., gh extension install heaths/gh-label@v0.3.0-pre.1

Expected vs actual behavior

I'm able to install a prerelease to test a binary extension that used the cli/gh-extension-precompile action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions