|
@@ -84,7 +84,7 @@ func main() {
|
|
|
// We want the next prerelease. We are already on a prerelease. If
|
|
// We want the next prerelease. We are already on a prerelease. If
|
|
|
// it's the correct prerelease compared to the logs we just got, we
|
|
// it's the correct prerelease compared to the logs we just got, we
|
|
|
// should just bump the prerelease counter.
|
|
// should just bump the prerelease counter.
|
|
|
- if next.LessThan(*latest) {
|
|
|
|
|
|
|
+ if next.Major == latest.Major && next.Minor == latest.Minor && next.Patch == latest.Patch {
|
|
|
parts := latest.PreRelease.Slice()
|
|
parts := latest.PreRelease.Slice()
|
|
|
for i, p := range parts {
|
|
for i, p := range parts {
|
|
|
if v, err := strconv.Atoi(p); err == nil {
|
|
if v, err := strconv.Atoi(p); err == nil {
|