Skip to content

Adjust the fallback path #573

@jdomeracki-coder

Description

@jdomeracki-coder

We need to adjust the fallback path so that only MAJOR.MINOR.PATCH version is included:

`https://releases.coder.com/coder-cli/${buildInfo.version.replace(/^v/, "")}/${binName}.asc`,

Signature downloads from releases.coder.com fail due to a mismatch between the value returned by the buildinfo endpoint and the object names in the underlying GCS bucket.

Image

Example:

Currently the handler would attempt to fetch the signature from:
https://releases.coder.com/coder-cli/2.24.1+f97bd76/{detached_signature} 🔴

Should be:
https://releases.coder.com/coder-cli/2.24.1/{detached_signature} 🟢

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions