You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewGradleException("Not for release. The working tree is dirty.")
24
-
}
25
-
def described = grgit.describe(commit: "HEAD").toString().trim()
26
-
if (described !="v${rootProject.version}") {
27
-
thrownewGradleException("Not for release. git-describe returned a name different from the version in build.gradle: ${described} v.s. v${rootProject.version}")
28
-
}
29
-
if (described.contains("-")) {
30
-
// HEAD may not be tagged with annotation properly.
31
-
thrownewGradleException("Not for release. git-describe returned a name with a hyphen: ${described}")
32
-
}
33
-
// TODO: Revisit if we would check the format of tag annotation.
0 commit comments