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
By default go 1.18+ injects version control info into main packages on build. That's fine. But it's buggy and we don't need it anyway since goreleaser does it for us. So I'm disabling it.
Why? If you're building from a linked git worktree (which I do all the time) it'll bomb because go expects the `.git` directory to be the common git root, not a pointer to one. It's a longstanding bug that'll maybe get fixed by go 3.0 golang/go#58218
0 commit comments