|
|
|
@ -21,10 +21,10 @@ import ( |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
const ( |
|
|
|
|
VersionMajor = 1 // Major version component of the current release
|
|
|
|
|
VersionMinor = 10 // Minor version component of the current release
|
|
|
|
|
VersionPatch = 22 // Patch version component of the current release
|
|
|
|
|
VersionMeta = "unstable" // Version metadata to append to the version string
|
|
|
|
|
VersionMajor = 1 // Major version component of the current release
|
|
|
|
|
VersionMinor = 10 // Minor version component of the current release
|
|
|
|
|
VersionPatch = 22 // Patch version component of the current release
|
|
|
|
|
VersionMeta = "stable" // Version metadata to append to the version string
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// Version holds the textual version string.
|
|
|
|
@ -41,9 +41,9 @@ var VersionWithMeta = func() string { |
|
|
|
|
return v |
|
|
|
|
}() |
|
|
|
|
|
|
|
|
|
// ArchiveVersion holds the textual version string used for Geth archives.
|
|
|
|
|
// e.g. "1.8.11-dea1ce05" for stable releases, or
|
|
|
|
|
// "1.8.13-unstable-21c059b6" for unstable releases
|
|
|
|
|
// ArchiveVersion holds the textual version string used for Geth archives. e.g.
|
|
|
|
|
// "1.8.11-dea1ce05" for stable releases, or "1.8.13-unstable-21c059b6" for unstable
|
|
|
|
|
// releases.
|
|
|
|
|
func ArchiveVersion(gitCommit string) string { |
|
|
|
|
vsn := Version |
|
|
|
|
if VersionMeta != "stable" { |
|
|
|
|