mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
Prepare stable release
This commit is contained in:
parent
59c5d79e6e
commit
c4ecf30606
2
go.mod
2
go.mod
@ -274,4 +274,4 @@ replace github.com/tendermint/tendermint => github.com/bnb-chain/tendermint v0.3
|
||||
|
||||
replace github.com/VictoriaMetrics/metrics => github.com/greyireland/metrics v0.0.5
|
||||
|
||||
replace github.com/ledgerwatch/erigon-lib => ../erigon-lib
|
||||
replace github.com/ledgerwatch/erigon-lib => gitlab.com/pulsechaincom/erigon-lib v1.0.6
|
||||
|
2
go.sum
2
go.sum
@ -790,6 +790,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1
|
||||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
||||
github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg=
|
||||
github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
|
||||
gitlab.com/pulsechaincom/erigon-lib v1.0.6 h1:uNT2Vq3dyyrKX1nk2preWTRue016EyoyTdCly+pIAjE=
|
||||
gitlab.com/pulsechaincom/erigon-lib v1.0.6/go.mod h1:iz1daifnfSn3P0Iwd21ioyjwdmFEOn8DKeynahoHeSc=
|
||||
gitlab.com/pulsechaincom/erigon-pulse-snapshot v0.0.3 h1:jB55xBCttoM2mxD6PCYQxf/es0WuBePQYfU+VH4v+d8=
|
||||
gitlab.com/pulsechaincom/erigon-pulse-snapshot v0.0.3/go.mod h1:U/W4jVFkJQ1XeXul9ng2MFGYRV2bBqTxVjSEojtm18c=
|
||||
gitlab.com/pulsechaincom/erigon-pulse-snapshot v0.0.4 h1:i0X9LQINUyOUTb5Eak1bZzwyDzo9aS8hBbMOygXazdM=
|
||||
|
@ -32,9 +32,10 @@ var (
|
||||
// see https://calver.org
|
||||
const (
|
||||
VersionMajor = 2 // Major version component of the current release
|
||||
VersionMinor = 47 // Minor version component of the current release
|
||||
VersionMinor = 3 // Minor version component of the current release
|
||||
VersionMicro = 0 // Patch version component of the current release
|
||||
VersionModifier = "stable" // Modifier component of the current release
|
||||
VariantMeta = "pulse" // Variant metadata to append to the version string
|
||||
VersionKeyCreated = "ErigonVersionCreated"
|
||||
VersionKeyFinished = "ErigonVersionFinished"
|
||||
)
|
||||
@ -56,12 +57,15 @@ func isRelease() bool {
|
||||
|
||||
// Version holds the textual version string.
|
||||
var Version = func() string {
|
||||
return fmt.Sprintf("%d.%02d.%d", VersionMajor, VersionMinor, VersionMicro)
|
||||
return fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionMicro)
|
||||
}()
|
||||
|
||||
// VersionWithMeta holds the textual version string including the metadata.
|
||||
var VersionWithMeta = func() string {
|
||||
v := Version
|
||||
if VariantMeta != "" {
|
||||
v += "-" + VariantMeta
|
||||
}
|
||||
if VersionModifier != "" {
|
||||
v += "-" + VersionModifier
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user