Permalink
Browse files

typo

  • Loading branch information...
rdmueller committed Aug 31, 2018
1 parent 016102d commit f85cc8922a554f1c151a1eabf81cd70c722e7339
Showing with 9 additions and 9 deletions.
  1. +9 −9 scripts/exportChangelog.gradle
@@ -4,18 +4,18 @@ task exportChangeLog(
group: 'docToolchain'
) {
doFirst {
new File(targetDir).mkDirs()
new File(targetDir).mkdirs()
}
doLast {
println "changelogConfigFile: ${changelogConfigFile}"
def config
config = new ConfigSlurper().parse(new File(docDir, changelogConfigFile).text)
println "changelogConfigFile: ${changelogConfigFile}"
def config
config = new ConfigSlurper().parse(new File(docDir, changelogConfigFile).text)
def cmd = "${config.changelogCmd} ."
def changes = cmd.execute(null, new File(docDir, config.changelogDir)).text
def changelog = new File(targetDir, 'changelog.adoc')
logger.info "> changelog exported ${changelog.canonicalPath}"
changelog.write(changes)
def cmd = "${config.changelogCmd} ."
def changes = cmd.execute(null, new File(docDir, config.changelogDir)).text
def changelog = new File(targetDir, 'changelog.adoc')
logger.info "> changelog exported ${changelog.canonicalPath}"
changelog.write(changes)
}
}
//end::exportChangeLog[]

0 comments on commit f85cc89

Please sign in to comment.