Filter F-Droid changelog

This commit is contained in:
M66B 2022-06-25 13:29:57 +02:00
parent c2fe715ecb
commit 73fb69008c
2 changed files with 237 additions and 228 deletions

View File

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