98cf2856db
``` $ docker-compose -v docker-compose version 1.5.2, build 7240ff3 $ docker -v Docker version 1.9.1, build a34a1d5 ``` Signed-off-by: Pavel Strashkin <pavel.strashkin@gmail.com>
17 lines
341 B
Go
17 lines
341 B
Go
package version
|
|
|
|
import "fmt"
|
|
|
|
var (
|
|
// Version should be updated by hand at each release
|
|
Version = "0.5.3-dev"
|
|
|
|
// GitCommit will be overwritten automatically by the build system
|
|
GitCommit = "HEAD"
|
|
)
|
|
|
|
// FullVersion formats the version to be printed
|
|
func FullVersion() string {
|
|
return fmt.Sprintf("%s, build %s", Version, GitCommit)
|
|
}
|