Skip to content

Commit

Permalink
Merge 2476dc3 into 83c336b
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Feb 24, 2020
2 parents 83c336b + 2476dc3 commit e3f3185
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ final class SemVerStrategy implements DefaultVersionStrategy {
logger.warn('Inferred project: {}, version: {}', project.name, versionAsString)

if (enforcePrecedence && version < nearestVersion.any) {
throw new GradleException("Inferred version (${version}) cannot be lower than nearest (${nearestVersion.any}). Required by selected strategy.")
throw new GradleException("Based on previous tags in this branch the nearest version is ${nearestVersion.any} You're attempting to release ${version} based on the tag recently pushed. Please look at https://github.com/nebula-plugins/nebula-release-plugin/wiki/Error-Messages-Explained#i-am-getting-an-error-involving-orggradleapigradleexception-inferred-version-cannot-be-lower-than-nearest-required-by-selected-strategy")
}


Expand Down

0 comments on commit e3f3185

Please sign in to comment.