Commit fe0e6025 authored by Christian Meyer's avatar Christian Meyer
Browse files

ZmtDeployPlugin.groovy: fixed method obtainVersionListFromGit

parent f6052632
......@@ -38,7 +38,7 @@ public class ZmtDeployPlugin implements Plugin<Project> {
put from: distZip.archivePath, into: remoteTargetDir
// create CHANGES file from git version list
put text: obtainVersionListFromGit(it), into: remoteTargetDir + '/CHANGES'
put text: obtainVersionListFromGit(project), into: remoteTargetDir + '/CHANGES'
}
}
}
......@@ -48,7 +48,7 @@ public class ZmtDeployPlugin implements Plugin<Project> {
def output = new ByteArrayOutputStream()
try {
exec {
project.exec {
commandLine 'git', 'tag', '-n99'
standardOutput = output
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment