1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: clarify lack of vcs info when building from proxy

closes #3491

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-10-25 22:16:06 -03:00
parent 1447ac8259
commit 10586bdba7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 6 additions and 1 deletions

View File

@ -90,7 +90,8 @@ You can also use `go version -m my_program` to display the go module information
## Limitations
1. Extra files will still be copied from the current project's root folder and not from the proxy cache;
1. You can't build packages that are not contained in the main module.
1. You can't build packages that are not contained in the main module;
1. VCS info will not be available.
## More information

View File

@ -46,4 +46,8 @@ gomod:
You can use `debug.ReadBuildInfo()` to get the version/checksum/dependencies
of the module.
!!! warning
VCS Info will not be embedded in the binary, as in practice it is not being
built from the source, but from the Go Mod Proxy.
[vgo]: https://research.swtch.com/vgo-repro