Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

release: build release versions as dependencies of a temp module #40

Open
myitcv opened this issue Nov 6, 2018 · 1 comment
Open

release: build release versions as dependencies of a temp module #40

myitcv opened this issue Nov 6, 2018 · 1 comment

Comments

@myitcv
Copy link
Owner

myitcv commented Nov 6, 2018

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
Copy link
Owner Author

myitcv commented Nov 13, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant