Try to fix this
This commit is contained in:
parent
d4e2d32d91
commit
03e6b03bb1
|
@ -71,6 +71,7 @@ if (grgit != null) {
|
|||
ext.currentVer = "0.0.0+notag"
|
||||
grgit.open(dir: project.projectDir.toString())
|
||||
def tagList = grgit.tag.list()
|
||||
tagList.sort((left, right) -> left.commit.dateTime.compareTo(right.commit.dateTim))
|
||||
if (tagList.size() >= 1) {
|
||||
def currentTag = tagList.get(tagList.size() - 1)
|
||||
ext.currentType = VersionType.RELEASE
|
||||
|
|
Loading…
Reference in New Issue