-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Description
Description
The install command currently fails if the go.mod file in the current directory specifies a version (e.g., go 1.25) that does not exactly match the specific patch version being installed.
Steps to Reproduce
- Ensure the current directory has a
go.modfile with a version line likego 1.25. - Run the command:
gvm install go1.25.4. - Observe that the installation fails.
Workaround
To make the command work, you currently have to update the go.mod file to match the exact target version (e.g., go 1.25.4).
Expected Behavior
The gvm install command should function independently of the local go.mod file. It should simply download the requested version without checking against the current directory's configuration. Users should have the freedom to download any version, even if it differs from the active project file.
Metadata
Metadata
Assignees
Labels
No labels