When I try to release under Windows 7x64 with following configuration:
release {
failOnSnapshotDependencies = true
allowLocalModifications = false
releaseDryRun = false
scm = 'git'
username = gitUser
password = gitPassword
}
I receive allways:
"Uncommited changes found in the source tree"
Of course, there are no changes :)
Is the logic hier:
def boolean hasLocalModifications() {
gitExec(['status', '--porcelain']) != ""
}
correct?