forked from mozilla/mig
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversion.go
More file actions
21 lines (18 loc) · 785 Bytes
/
Copy pathversion.go
File metadata and controls
21 lines (18 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Contributor: Julien Vehent jvehent@mozilla.com [:ulfr]
package mig /* import "github.com/mozilla/mig" */
// Version can be set at compile time to indicate the version of MIG
// components. You'd typically want to set this during install using flags
// such as -ldflags "-X github.com/mozilla/mig.Version=20170913-0.06824ce0.dev" when
// calling the go build tools.
var Version = ""
func init() {
// If the default value of Version is not being specified using the build
// tools, just set a generic version identifier.
if Version == "" {
Version = "0.unversioned"
}
}