fix in github_release

This commit is contained in:
InsanusMokrassar 2020-10-08 18:17:12 +06:00
parent f23740a6a5
commit 92f1ec03dd
1 changed files with 3 additions and 1 deletions

View File

@ -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'
}