Change version string format and add VendorInfo to help with issue triaging
authorAnthony Fok <foka@debian.org>
Tue, 16 Feb 2021 15:08:24 +0000 (08:08 -0700)
committerGitHub <noreply@github.com>
Tue, 16 Feb 2021 15:08:24 +0000 (16:08 +0100)
commite8df09774534abe6131eb455b4f5c614fb438983
treec04e7184158273ddd7b38436beaf95aa15549722
parent3a5ee0d2d6e344b12efc7a97354ec3480c4c578b
Change version string format and add VendorInfo to help with issue triaging

* Change version string format as proposed by @moorereason

 1. shorten program name
 2. make version string semver compliant with +extended.
    The slash is not allowed in semver.
 3. Use key=value pairs for BuildDate etc.

* Add optional vendorInfo to version string

to help with issue triaging, e.g. VendorInfo=debian:0.80.0-7
common/hugo/hugo.go
common/hugo/version.go