Skip to content

tag_name and filename disagree #11

@quoll

Description

@quoll

Release 0.15.0 has a filename with extra information: 1-g0187008

When the script extracts the tag_name it gets only the string 0.15.0, and uses only this when creating the download URL:

ASSET_NAME="perspective-cli-${TAG}-macos-arm64.tar.gz"

The resulting filename is missing the extra release information.

It may be better to do the same trick as for tag_name and extract the value for "browser_download_url". This is a little dirty, since it's in a nested structure, but it's a simple file so it's safe for now.

DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${TAG}/${ASSET_NAME}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions