From 8054a303870b81eebe05e38261c1b68197b68558 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Mon, 9 Nov 2015 19:32:46 +0100 Subject: dockerversion placeholder for library import - Add a *version* file placeholder. - Update autogen and builds to use it and an autogen build flag Signed-off-by: Vincent Demeester --- dockerversion/version_lib.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dockerversion/version_lib.go (limited to 'dockerversion') diff --git a/dockerversion/version_lib.go b/dockerversion/version_lib.go new file mode 100644 index 0000000000..1d5862d310 --- /dev/null +++ b/dockerversion/version_lib.go @@ -0,0 +1,16 @@ +// +build !autogen + +// Package dockerversion is auto-generated at build-time +package dockerversion + +// Default build-time variable for library-import. +// This file is overridden on build with build-time informations. +const ( + GitCommit string = "library-import" + Version string = "library-import" + BuildTime string = "library-import" + + IAmStatic string = "library-import" + InitSHA1 string = "library-import" + InitPath string = "library-import" +) -- cgit v1.2.1