-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When the go.mod file contains a go 1.24 instead of go 1.24.5 which is a proper Go version, the normal go binary handles this go.mod differently than igo, and the shim/go needs to be updated to reflect this normal go behavior in an igo manner as possible.
Therefore, in order to do this, the shims/go, which is an embedded shell script of the igo binary that gets installed on the host machine, this script needs to be updated to:
- Where we parse the found
go.modfile for the version, we need to verify the format of the version itself. Thebumppackage should be used to do this. A feature request 1 in the bump project. Thebump -fix -gomod -in go.mod 1> /dev/null && bump -fix -gomod -in go.mod -writeallows the&&andexit code 1of thebumppattern to protect the-fixand-writeoperations on the file. - Once the
go.modfile is corrected, the correct version should be selected and the go runtime internationally shouldn't try to take over the~/godirectory attempting to do an internal system update.
This issue is dependent on the bump getting fixed in order to fix the VERSION file of the go.mod file instead of using bash and sed.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working