Skip to content

yq_linux_amd64.tar.gz contains ./yq_linux_amd64 rather than just yq_linux_amd64 #2437

@jameshartig

Description

@jameshartig
$ curl -L -s -o - https://github.com/mikefarah/yq/releases/download/v4.47.1/yq_linux_amd64.tar.gz | tar -ztvf -

-rwxr-xr-x runner/docker 11440312 2025-07-23 04:13 ./yq_linux_amd64
-rw-r--r-- runner/docker   223099 2025-07-23 04:15 yq.1
-rwxr-xr-x runner/docker      405 2025-07-23 04:04 install-man-page.sh

Which means if you try to do:

$ curl -L -s -o - https://github.com/mikefarah/yq/releases/download/v4.47.1/yq_linux_amd64.tar.gz | tar -zxf - yq_linux_amd64

tar: yq_linux_amd64: Not found in archive
tar: Exiting with failure status due to previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions