Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing gomod go version formate error #413

Closed
wants to merge 1 commit into from
Closed

Fixing gomod go version formate error #413

wants to merge 1 commit into from

Conversation

codifierr
Copy link

Fixing this error

An unexpected error has occurred: CalledProcessError: command: ('/usr/lib/go/bin/go', 'install', './...')
return code: 1
stdout: (none)
stderr:
go: errors parsing go.mod:
/usr/local/lib/gravity/pre-commit/repo4anvjvke/go.mod:3: invalid go version '1.21.5': must match format 1.23

Fixing this error
@codifierr
Copy link
Author

codifierr commented Jan 11, 2024

@daveshanley Can you please have a look at this?

@daveshanley
Copy link
Owner

I can't downgrade, everything else has been upgraded. I suggest you upgrade too! The build won't pass anymore with a lower version of go.

@daveshanley
Copy link
Owner

If you need to change the version, fork the code and you're free to do as you wish, however I suggest upgrading your tools to support this (valid) version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants