diff --git a/github_release.gradle b/github_release.gradle index 8140054..6ee9d2c 100644 --- a/github_release.gradle +++ b/github_release.gradle @@ -1,8 +1,10 @@ private String getCurrentVersionChangelog(String version) { OutputStream changelogDataOS = new ByteArrayOutputStream() exec { - standardOutput = changelogDataOS commandLine 'chmod', "+x", './changelog_parser.sh' + } + exec { + standardOutput = changelogDataOS commandLine './changelog_parser.sh', "$version", 'CHANGELOG.md' }