diff options
author | Vincent Demeester <vincent@sbr.pm> | 2015-11-09 19:32:46 +0100 |
---|---|---|
committer | Vincent Demeester <vincent@sbr.pm> | 2015-11-09 19:32:46 +0100 |
commit | 8054a303870b81eebe05e38261c1b68197b68558 (patch) | |
tree | 2f1dc19ef6f694a453ccb2a25a303d988dd4cde0 /dockerversion | |
parent | 1eafc7264cd4e2d4acd9944683326234f06ec9ef (diff) | |
download | docker-8054a303870b81eebe05e38261c1b68197b68558.tar.gz |
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 <vincent@sbr.pm>
Diffstat (limited to 'dockerversion')
-rw-r--r-- | dockerversion/version_lib.go | 16 |
1 files changed, 16 insertions, 0 deletions
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" +) |