gobin icon indicating copy to clipboard operation
gobin copied to clipboard

release: build release versions as dependencies of a temp module

Open myitcv opened this issue 5 years ago • 1 comments

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.

myitcv avatar Nov 06 '18 13:11 myitcv

Reminder:

  • copy all replacements from the go.mod of the module containing the main package to the temporary go.mod
  • install the main package with the temporary go.mod as the main module

myitcv avatar Nov 13 '18 21:11 myitcv