Fix -dirty suffix of 1.7.10 build on CI
This commit is contained in:
@@ -26,7 +26,7 @@ if (releaseCommit == currentCommit) {
|
||||
def diff = command('git', 'log', '--format=oneline', "$releaseCommit..$currentCommit").size()
|
||||
version = "$latestVersion-$diff-g${currentCommit.substring(0, 7)}"
|
||||
}
|
||||
if (gitDescribe().endsWith('*')) {
|
||||
if (gitDescribe().endsWith('*') && !project.hasProperty('ignoreDirty')) {
|
||||
version = "$version-dirty"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user