mirror of https://github.com/M66B/FairEmail.git
Filter F-Droid changelog
This commit is contained in:
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…
Reference in New Issue