gobin
gobin copied to clipboard
release: build release versions as dependencies of a temp module
This way the version information will be compiled into the binary and, when https://go-review.googlesource.com/c/go/+/144220 lands, we will be able to use that for gobin version
.
Reminder:
- copy all replacements from the
go.mod
of the module containing themain
package to the temporarygo.mod
- install the
main
package with the temporarygo.mod
as the main module