You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/version
Avery Pennarun f81233524f version/cmdname: s/path/filepath/ and fix version.ReadExe() fallback.
We were using the Go 'path' module, which apparently doesn't handle
backslashes correctly. path/filepath does.

However, the main bug turned out to be that we were not calling .Base()
on the path if version.ReadExe() fails, which it seems to do at least
on Windows 7. As a result, our logfile persistence was not working on
Windows, and logids would be regenerated on every restart.

Affects: #620

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
4 years ago
..
.gitignore version: support major.minor.patch tags without breaking Apple builds. 4 years ago
GENERATE.go version: add blank line to separate comment from package line 4 years ago
all.do Move Linux client & common packages into a public repo. 4 years ago
clean.do version: support major.minor.patch tags without breaking Apple builds. 4 years ago
cmdname.go version/cmdname: s/path/filepath/ and fix version.ReadExe() fallback. 4 years ago
cmdname_ios.go version: don't depend on goversion on ios 4 years ago
cmp.go version: remove leftover debug print. 4 years ago
cmp_test.go version: add an AtLeast helper to compare versions. 4 years ago
describe.txt.do version: explicitly use 9 hex digits in git describe version number 4 years ago
long.txt.do version: support major.minor.patch tags without breaking Apple builds. 4 years ago
mkversion.sh Revert "version: don't have a third version number form for xcode" 4 years ago
mkversion_test.go Revert "version: don't have a third version number form for xcode" 4 years ago
prop.go version: move runtime.OS to tailscale OS mapping func to version 4 years ago
short.txt.do version: support major.minor.patch tags without breaking Apple builds. 4 years ago
ver.go.do Move Linux client & common packages into a public repo. 4 years ago
ver.go.in version: add license header to input for generated file. 4 years ago
version.go version: new week, new version 4 years ago
version.h.do Move Linux client & common packages into a public repo. 4 years ago
version.xcconfig.do version: support major.minor.patch tags without breaking Apple builds. 4 years ago
xversion.go version: add support for setting version with the -X Go linker flag 4 years ago