Skip to content

go install command not working for latest releases #2587

Description

@tkrop

Describe the bug

When trying to install the latest yq version via

go install -buildvcs=auto github.com/mikefarah/yq/v4@latest

I get the following error message:

go: downloading github.com/mikefarah/yq/v4 v4.52.1
go: github.com/mikefarah/yq/v4@latest:
create zip: .github/instructions/*.instructions.md:
malformed file path ".github/instructions/*.instructions.md": invalid char '*'

Also trying to fallback to a previous version is leading to an error due to deprecating the previous versions, e.g.:

go: github.com/mikefarah/yq/v4@v4.48.2:
loading deprecation for github.com/mikefarah/yq/v4: github.com/mikefarah/yq/v4@v4.52.1:
verifying go.mod: github.com/mikefarah/yq/v4@v4.52.1/go.mod:
reading https://sum.golang.org/lookup/github.com/mikefarah/yq/v4@v4.52.1: 404 Not Found
	server response: not found: create zip: .github/instructions/*.instructions.md:
	malformed file path ".github/instructions/*.instructions.md": invalid char '*'

The file naming with * seems to violate the zip-tool dependencies used by go install.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions