Tools: Skip more minor changes for changelog generation

This commit is contained in:
Laurent Cozic
2024-07-06 12:19:17 +02:00
parent 599cf5b86f
commit ee97434bb0
+3 -1
View File
@@ -269,7 +269,9 @@ function filterLogs(logs: LogEntry[], platform: Platform) {
// but that's not useful in a changelog especially since most people
// don't know country and language codes. So we catch all these and
// bundle them all up in a single "Updated translations" at the end.
if (log.message.match(/Translation:\sUpdate\s.*?(\.po|[a-zA-Z][a-zA-Z]|[a-zA-Z][a-zA-Z]_[a-zA-Z][a-zA-Z])/)) {
if (log.message.match(/Translation:\sUpdate\s.*?(\.po|[a-zA-Z][a-zA-Z]|[a-zA-Z][a-zA-Z]_[a-zA-Z][a-zA-Z])/)
|| log.message.match(/Update.+\.po/)
) {
// updatedTranslations = true;
addIt = false;
}