cog
1087c982 - chore: set `-buildvcs=false` on `go build` (#2516)

Commit
113 days ago
chore: set `-buildvcs=false` on `go build` (#2516) 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 https://github.com/golang/go/issues/58218
Author
Parents
Loading