From c7d9e88db3f28cfd0720179ac0b4acae7a5e5d79 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 1 Jul 2013 16:37:03 +0200 Subject: [PATCH] packer: print packers version to the log during startup --- packer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packer.go b/packer.go index 056c8b003..ff3e05c14 100644 --- a/packer.go +++ b/packer.go @@ -27,6 +27,8 @@ func main() { runtime.GOMAXPROCS(runtime.NumCPU()) } + log.Printf("Packer Version: %s %s", packer.Version, packer.VersionPrerelease) + config, err := loadConfig() if err != nil { fmt.Fprintf(os.Stderr, "Error loading configuration: \n\n%s\n", err)