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>
2020-07-30 04:52:20 -04:00
..
.gitignore version: support major.minor.patch tags without breaking Apple builds. 2020-06-01 18:14:27 -07:00
GENERATE.go version: add blank line to separate comment from package line 2020-06-15 07:50:51 -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.go version/cmdname: s/path/filepath/ and fix version.ReadExe() fallback. 2020-07-30 04:52:20 -04:00
cmdname_ios.go version: don't depend on goversion on ios 2020-04-07 09:28:09 -07:00
cmp.go version: remove leftover debug print. 2020-06-12 22:38:12 +00:00
cmp_test.go version: add an AtLeast helper to compare versions. 2020-06-12 14:28:21 -07:00
describe.txt.do version: explicitly use 9 hex digits in git describe version number 2020-07-03 22:28:45 -07:00
long.txt.do version: support major.minor.patch tags without breaking Apple builds. 2020-06-01 18:14:27 -07:00
mkversion.sh Revert "version: don't have a third version number form for xcode" 2020-07-12 14:45:06 -07:00
mkversion_test.go Revert "version: don't have a third version number form for xcode" 2020-07-12 14:45:06 -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: support major.minor.patch tags without breaking Apple builds. 2020-06-01 18:14:27 -07:00
ver.go.do Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
ver.go.in version: add license header to input for generated file. 2020-03-17 21:34:44 -07:00
version.go version: new week, new version 2020-07-27 10:20:58 -07:00
version.h.do Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
version.xcconfig.do version: support major.minor.patch tags without breaking Apple builds. 2020-06-01 18:14:27 -07:00
xversion.go version: add support for setting version with the -X Go linker flag 2020-06-22 12:59:38 -07:00