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
When I try gorelease on my packages, it returns an error: "go: updates to go.sum needed, disabled by -mod=readonly". Yet, no changes are needed: "go mod tidy" doesn't make any changes.
Going through the code, I think it's because of this call:
% go list -json -m -u all
go: updates to go.sum needed, disabled by -mod=readonly
Without either the '-u' or 'all', the command works successfully.
Can be reproduced with repo https://github.com/clambin/tado on the oauth2 branch. The only difference on that branch is the inclusion of golang.org/x/oauth2@v0.9.0. On the main branch, where this module isn't included, gorelease works just fine.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
On latest
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When I try gorelease on my packages, it returns an error: "go: updates to go.sum needed, disabled by -mod=readonly". Yet, no changes are needed: "go mod tidy" doesn't make any changes.
Going through the code, I think it's because of this call:
Without either the '-u' or 'all', the command works successfully.
Can be reproduced with repo https://github.com/clambin/tado on the oauth2 branch. The only difference on that branch is the inclusion of golang.org/x/oauth2@v0.9.0. On the main branch, where this module isn't included, gorelease works just fine.
The text was updated successfully, but these errors were encountered: