mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
e5a80fa3f5
Allows identification of which Orbit versions are in use from the update server. Refactored the build information into a separate `package build` to support importing it from multiple places.
14 lines
350 B
Go
14 lines
350 B
Go
// package build provides build metadata through variables set at build time
|
|
// (with -ldflags="-X ...")
|
|
package build
|
|
|
|
var (
|
|
// Version is the commit tag version number for release builds, or a
|
|
// generated version for untagged builds.
|
|
Version string
|
|
// Commit is the commit SHA.
|
|
Commit string
|
|
// Date is the date of the build.
|
|
Date string
|
|
)
|