Skip to content

Install script regularly fails #1523

@szunami

Description

@szunami

We install speakeasy via curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | VERSION=1.495.1 sh. This regularly fails with the following error:

Error: Unable to retrieve a valid release tag after 5 attempts.

This happens maybe 50% of the time in our CI flow.

Reviewing the code a bit, it seems like the install script attempts to resolve the latest release tag, even if a version is supplied. I'm putting together a patch which doesn't resolve version if one is provided; would you be open to a PR with this change?

Here is the current patch: main...szunami:speakeasy:main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions