forked from TrueCloudLab/distribution
a74cacff04
Future-proof the version package's exported interface by only making the data available through getter functions. This affords us the flexibility to e.g. implement them in terms of "runtime/debug".ReadBuildInfo() in the future. Signed-off-by: Cory Snider <csnider@mirantis.com>
15 lines
622 B
Go
15 lines
622 B
Go
package version
|
|
|
|
// mainpkg is the overall, canonical project import path under which the
|
|
// package was built.
|
|
var mainpkg = "github.com/distribution/distribution/v3"
|
|
|
|
// version indicates which version of the binary is running. This is set to
|
|
// the latest release tag by hand, always suffixed by "+unknown". During
|
|
// build, it will be replaced by the actual version. The value here will be
|
|
// used if the registry is run after a go get based install.
|
|
var version = "v3.0.0-alpha.1.m+unknown"
|
|
|
|
// revision is filled with the VCS (e.g. git) revision being used to build
|
|
// the program at linking time.
|
|
var revision = ""
|