Skip to content

vault 1.21.0 - incorrect GO version in vault/go.mod #31641

@amareno

Description

@amareno

in https://github.com/hashicorp/vault/blob/v1.21.0/go.mod

it is indicated go 1.25.1 in line 13 as go version used

...
// Whenever this value gets updated, sdk/go.mod should be updated to the same value.
go 1.25.1
...

But it isn't the go version used to build vault 1.21.0
If I try to use go 1.25.1 to build, I get the following error

--> mvdan.cc/sh/v3/cmd/[email protected]
==> Checking that build is using go version >= 1.25.2...
Vault requires go 1.25.2 to build; found 1.25.1.
make: *** [Makefile:275: check-go-version] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed to indicate a potential bugrelease/build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions