2017-03-16 07:39:28 +00:00
|
|
|
package params
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2017-05-03 14:24:48 +00:00
|
|
|
// VersionMajor is a major version component of the current release
|
|
|
|
VersionMajor = 0
|
|
|
|
|
|
|
|
// VersionMinor is a minor version component of the current release
|
|
|
|
VersionMinor = 9
|
|
|
|
|
|
|
|
// VersionPatch is a patch version component of the current release
|
2017-09-19 11:30:02 +00:00
|
|
|
VersionPatch = 9
|
2017-03-16 07:39:28 +00:00
|
|
|
)
|
|
|
|
|
2018-04-10 10:36:11 +00:00
|
|
|
// VersionMeta is metadata to append to the version string
|
|
|
|
var VersionMeta string // rely on linker: -ldflags -X github.com/status-im/status-go/geth/params.VersionMeta"
|
|
|
|
|
2017-03-16 07:39:28 +00:00
|
|
|
// Version exposes string representation of program version.
|
|
|
|
var Version = fmt.Sprintf("%d.%d.%d-%s", VersionMajor, VersionMinor, VersionPatch, VersionMeta)
|