From 6edac2ccb5124f1fde84ec225393dd252d36c2a9 Mon Sep 17 00:00:00 2001 From: Martin Marmsoler Date: Tue, 29 Aug 2023 15:52:16 +0200 Subject: [PATCH] add comment --- cmake/generate_appdata.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/generate_appdata.cmake b/cmake/generate_appdata.cmake index fba7bce55..6fc5e94c0 100644 --- a/cmake/generate_appdata.cmake +++ b/cmake/generate_appdata.cmake @@ -5,6 +5,7 @@ file(READ "${CHANGELOG_HTML}" HTML_CHANGELOGS) string(REGEX REPLACE "

([^<]*)<\\/p>" "\\1" RELEASES ${HTML_CHANGELOGS}) # remove paragraph environment string(REGEX REPLACE "

([A-Za-z0-9]*)<\\/h4>" "

\\1

" RELEASES ${RELEASES}) # h4 is unknow to appdata so change it to a paragraph environment string(REPLACE "\n" "\n\t" RELEASES ${RELEASES}) # add tabulator +# For Dev Version "vX.X.X - (WIP)" can be used to show in the changelog the current progress string(REGEX REPLACE "

(v[1-9]\\.[0-9]\\.[0-9]|vX\\.X\\.X) - ([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]) \\((WIP){0,1}\\)<\\/h3>" "\n\t" RELEASES ${RELEASES}) string(REGEX REPLACE "
" "
\n\t
" RELEASES ${RELEASES}) configure_file(${APPDATA_CONF} ${APPDATA})