mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
54e6c3a290
When building with redo, also include the git commit hash from the proprietary repo, so that we have a precise commit that identifies all build info (including Go toolchain version). Add a top-level build script demonstrating to downstream distros how to burn the right information into builds. Adjust `tailscale version` to print commit hashes when available. Fixes #841. Signed-off-by: David Anderson <danderson@tailscale.com>
5 lines
91 B
Plaintext
5 lines
91 B
Plaintext
describe=$(git describe --long --abbrev=9)
|
|
echo "$describe" >$3
|
|
redo-always
|
|
redo-stamp <$3
|