Logo
Explore Help
Sign In
TheArchive/tailscale
1
0
Fork 0
You've already forked tailscale
mirror of https://github.com/tailscale/tailscale.git synced 2025-06-03 05:18:24 +00:00
Code Issues Packages Projects Releases Wiki Activity
tailscale/version/ver.go.in

15 lines
369 B
Go
Raw Normal View History

version: add license header to input for generated file. Signed-off-by: David Anderson <dave@natulte.net>
2020-03-17 20:36:52 -07:00
// Copyright (c) 2020 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.
version: tag redo-generated version as +build redo. staticcheck defaults to running with no tags set, which only works if redo hasn't run and generated ver.go. If it has, we end up with a redeclaration conflict. Signed-off-by: David Anderson <dave@natulte.net>
2020-02-19 19:56:10 -08:00
// +build redo
Move Linux client & common packages into a public repo.
2020-02-05 14:16:58 -08:00
package version
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-27 04:23:58 +00:00
const Long = "{LONGVER}"
const Short = "{SHORTVER}"
const LONG = Long
const SHORT = Short
const GitCommit = "{GITCOMMIT}"
const ExtraGitCommit = "{EXTRAGITCOMMIT}"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 189ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API