fix: snapshot-version is not being recognised as older version compared to its non-snapshot version

This commit is contained in:
minjaesong
2023-11-14 11:57:47 +09:00
parent c1deeea59e
commit 8d394cc085

View File

@@ -117,6 +117,6 @@ data class Snapshot(var revision: Int) {
}
override fun hashCode(): Int {
return year.shl(24) or week.shl(16) or revision
return year.shl(16) or week.shl(8) or revision
}
}