params: release go-ethereum v1.10.22
This commit is contained in:
parent
395f3d4bf6
commit
2de49b04e5
@ -21,10 +21,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
VersionMajor = 1 // Major version component of the current release
|
VersionMajor = 1 // Major version component of the current release
|
||||||
VersionMinor = 10 // Minor version component of the current release
|
VersionMinor = 10 // Minor version component of the current release
|
||||||
VersionPatch = 22 // Patch 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
|
VersionMeta = "stable" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
// Version holds the textual version string.
|
// Version holds the textual version string.
|
||||||
@ -41,9 +41,9 @@ var VersionWithMeta = func() string {
|
|||||||
return v
|
return v
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// ArchiveVersion holds the textual version string used for Geth archives.
|
// ArchiveVersion holds the textual version string used for Geth archives. e.g.
|
||||||
// e.g. "1.8.11-dea1ce05" for stable releases, or
|
// "1.8.11-dea1ce05" for stable releases, or "1.8.13-unstable-21c059b6" for unstable
|
||||||
// "1.8.13-unstable-21c059b6" for unstable releases
|
// releases.
|
||||||
func ArchiveVersion(gitCommit string) string {
|
func ArchiveVersion(gitCommit string) string {
|
||||||
vsn := Version
|
vsn := Version
|
||||||
if VersionMeta != "stable" {
|
if VersionMeta != "stable" {
|
||||||
|
Loading…
Reference in New Issue
Block a user