tailscale/version
David Anderson 54e6c3a290 version: use OSS repo's version when building.
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>
2020-10-28 16:17:21 -07:00
..
distro control/controlclient, version/distro, wgengine: recognize OpenWrt 2020-09-22 10:28:40 -07:00
.gitignore version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
all.do Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
clean.do version: support major.minor.patch tags without breaking Apple builds. 2020-06-01 18:14:27 -07:00
cmdname_ios.go version: don't depend on goversion on ios 2020-04-07 09:28:09 -07:00
cmdname.go version: revert the filepath change from earlier commit 2020-07-30 08:03:33 -07:00
cmp_test.go version: add an AtLeast helper to compare versions. 2020-06-12 14:28:21 -07:00
cmp.go version: remove leftover debug print. 2020-06-12 22:38:12 +00:00
describe.txt.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
extragitcommit.txt.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
GENERATE.go version: add blank line to separate comment from package line 2020-06-15 07:50:51 -07:00
gitcommit.txt.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
long.txt.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
mkversion_test.go version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
mkversion.sh version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
print.go version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
prop.go version: move runtime.OS to tailscale OS mapping func to version 2020-04-01 08:50:56 -07:00
short.txt.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
ver.go.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
ver.go.in version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
version.go version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
version.h.do version: add Windows MAJOR,MINOR,BUILD,REVISON value 2020-09-22 20:34:57 -07:00
version.xcconfig.do version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
xversion.go version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00