Skip to content

Invalid Go Version Format #2509

@Slates

Description

@Slates

Description

We are using go task for our project, and when trying to upgrade to a new version are getting an error related to the go version declaration in the go.mod file:

go install github.com/go-task/task/v3/cmd/task@v3.39.2

go: downloading github.com/go-task/task/v3 v3.39.2

go: github.com/go-task/task/v3/cmd/task@v3.39.2 (in github.com/go-task/task/v3@v3.39.2): go.mod:3: invalid go version '1.22.0': must match format 1.23

Seems like this is happening up until the latest version (just with 1.24.0 instead of 1.22.0 in the error). Wondering if anyone else has run into this.

Thanks

Version

v3.39.2

Operating system

Unix

Experiments Enabled

No response

Example Taskfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: needs triageWaiting to be triaged by a maintainer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions