Skip to content
Snippets Groups Projects
Commit 94918f0b authored by Luke Champine's avatar Luke Champine
Browse files

bump version to 1.5.6

parent 421e3447
No related branches found
No related tags found
Loading
......@@ -14,7 +14,7 @@ const (
MaxEncodedVersionLength = 100
// Version is the current version of siad.
Version = "1.5.5"
Version = "1.5.6"
)
// ReleaseTag contains the release tag, such as "rc3". It is supplied at build
......
......@@ -397,11 +397,14 @@ func versionAdjustments(entry modules.HostDBEntry) float64 {
// we give the current version a very tiny penalty is so that the test suite
// complains if we forget to update this file when we bump the version next
// time. The value compared against must be higher than the current version.
if build.VersionCmp(entry.Version, "1.5.6") < 0 {
if build.VersionCmp(entry.Version, "1.5.7") < 0 {
base = base * 0.99999 // Safety value to make sure we update the version penalties every time we update the host.
}
// This needs to be "less than the current version" - anything less than the current version should get a penalty.
if build.VersionCmp(entry.Version, "1.5.6") < 0 {
base = base * 0.99 // Slight penalty against slightly out of date hosts.
}
if build.VersionCmp(entry.Version, "1.5.5") < 0 {
base = base * 0.90 // 10% penalty for hosts without the virtual sector fix
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment