Update CHANGELOG

This commit is contained in:
Mitchell Hashimoto 2014-01-19 15:48:56 -08:00
parent 3f77b2c592
commit 7ec05423ce
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,9 @@
## 0.5.2 (unreleased)
IMPROVEMENTS:
* core: Most downloads made by Packer now use a custom user agent. [GH-803]
BUG FIXES:
* core: Fix crash case if blank parameters are given to Packer. [GH-832]

View File

@ -39,6 +39,9 @@ func (versionCommand) Synopsis() string {
return "print Packer version"
}
// VersionString returns the Packer version in human-readable
// form complete with pre-release and git commit info if it is
// available.
func VersionString() string {
var versionString bytes.Buffer
fmt.Fprintf(&versionString, "Packer v%s", Version)