You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ccoVeille
changed the title
Allow to use go-version and go-version-file at same time
Allow using go-version and go-version-file at same time in certain conditions
Jan 30, 2025
Description:
go-version
already acceptsstable
andoldstable
aliases, they are great.go-version-file
was also a great addition, but these options cannot be used at same time.As the documentation explains it clearly
Justification:
Take a look at this PR
monzo/typhon#178
The version 1.19 had be hardcoded, while it was the one in the go.mod
go-version-file
could have been used,but you cannot use it with
go-version
I wish this could have been used
I didn't check, but maybe it's working by using
But adding the alias "go-version-file" in go-version would make things clearer.
Also, maybe if accepted it could help with:
This could also provides a solution for:
EDIT, I found out the #450 after opening my issue, so I'm quoting it here. I can close my issue and comment in #450 if you prefer.
Are you willing to submit a PR?
Not yet, I'm opening the discussion for now.
The text was updated successfully, but these errors were encountered: