Update
This commit is contained in:
1 parent
3530afb854
commit
6903fcff27
2146 files changed
+112256
-190703
No files matched your search
+6
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// Copyright (c) Tailscale Inc & contributors
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
package version
|
||||
@@ -103,6 +103,11 @@ func parse(version string) (parsed, bool) {
|
||||
}
|
||||
}
|
||||
|
||||
// Ignore trailer like '_1 (Void Linux)'.
|
||||
if rest[0] == '_' && strings.HasSuffix(rest, " (Void Linux)") {
|
||||
return ret, true
|
||||
}
|
||||
|
||||
// Optional extraCommits, if the next bit can be completely
|
||||
// consumed as an integer.
|
||||
if rest[0] != '-' {
|
||||
|
||||
Reference in new issue
Block a user