fix in github_release

This commit is contained in:
InsanusMokrassar 2020-10-08 18:17:12 +06:00
parent f23740a6a5
commit 92f1ec03dd

View File

@ -1,8 +1,10 @@
private String getCurrentVersionChangelog(String version) { private String getCurrentVersionChangelog(String version) {
OutputStream changelogDataOS = new ByteArrayOutputStream() OutputStream changelogDataOS = new ByteArrayOutputStream()
exec { exec {
standardOutput = changelogDataOS
commandLine 'chmod', "+x", './changelog_parser.sh' commandLine 'chmod', "+x", './changelog_parser.sh'
}
exec {
standardOutput = changelogDataOS
commandLine './changelog_parser.sh', "$version", 'CHANGELOG.md' commandLine './changelog_parser.sh', "$version", 'CHANGELOG.md'
} }