mirror of https://github.com/tailscale/tailscale/
version: embed VERSION.txt in unstamped version
Temporary measure until we switch to Go 1.18. $ go run ./cmd/tailscale version 1.17.0-date.20211022 go version: go1.17 Updates #81 Change-Id: Ic82ebffa5f46789089e5fb9810b3f29e36a47f1a Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>pull/3204/head
parent
a9c78910bd
commit
31e4f60047
@ -0,0 +1,11 @@
|
||||
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package tailscaleroot embeds VERSION.txt into the binary.
|
||||
package tailscaleroot
|
||||
|
||||
import _ "embed"
|
||||
|
||||
//go:embed VERSION.txt
|
||||
var Version string
|
Loading…
Reference in New Issue