Filter F-Droid changelog

pull/208/head
M66B 3 years ago
parent c2fe715ecb
commit 73fb69008c

@ -280,6 +280,15 @@ task copyChangelog(type: Copy) {
into "../metadata/en-US/changelogs"
include "CHANGELOG.md"
rename "CHANGELOG.md", getVersionCode() + ".txt"
filter { String line ->
line
.replaceAll(".*Google Translate.*", "--------------------")
.replaceAll("### ", "")
.replaceAll("## ", "")
.replaceAll("\\(https.*\\)", "")
.replaceAll("\\[", "")
.replaceAll("\\]", "")
}
}
preBuild.dependsOn copyChangelog

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save