Skip to content

Go version not correctly recongised #3331

@zakcutner

Description

@zakcutner

What version of rules_go are you using?

997520f

When detecting the version of Go, rules_go expects the format to be of the form go version go1.18.3 linux/amd64 in sdk.bzl. It then checks the third word of this output to determine the version.

However, development Go versions will be of the form go version devel go1.18.3 linux/amd64, so the Go version is not correctly determined in this case. I would suggest potentially checking the fourth word for the version instead if the third word is devel.

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