Fixed the build.gradle
This commit is contained in:
parent
c8d2a4ad75
commit
a80561a6c3
|
@ -25,7 +25,7 @@ application {
|
|||
|
||||
def isRelease = versionDetails().commitDistance == 0 &&
|
||||
versionDetails().isCleanTag &&
|
||||
versionDetails().branchName == 'master'
|
||||
((versionDetails().branchName == 'master') || (versionDetails().branchName == 'null'))
|
||||
|
||||
version isRelease ? gitVersion.call() : gitVersion.call() + "-${versionDetails().branchName}-SNAPSHOT"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user