diff --git a/cmake/generate_appdata.cmake b/cmake/generate_appdata.cmake index 0aedce195..783913dad 100644 --- a/cmake/generate_appdata.cmake +++ b/cmake/generate_appdata.cmake @@ -1,3 +1,12 @@ +# For testing enable +#set(CMAKE_SOURCE_DIR ) +#set(CMAKE_BINARY_DIR ) +#set(DOC_SOURCE_DIR ${CMAKE_SOURCE_DIR}/docs) +#set(DOC_BINARY_DIR ${CMAKE_BINARY_DIR}/docs) +#set(CHANGELOG_HTML ${DOC_BINARY_DIR}/changelog.html) +#set(APPDATA_CONF ${CMAKE_SOURCE_DIR}/rsrc/linux/com.github.Murmele.Gittyup.appdata.xml.in) +#set(APPDATA ${CMAKE_BINARY_DIR}/rsrc/linux/com.github.Murmele.Gittyup.appdata.xml) + # add release notes to the appdata file file(READ "${CHANGELOG_HTML}" HTML_CHANGELOGS) # it is not allowed to have multiple texts without being in an environment @@ -5,6 +14,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 -string(REGEX REPLACE "

(v[1-9]\\.[0-9]\\.[0-9]) - ([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9])<\\/h3>" "\n\t" RELEASES ${RELEASES}) +# For Dev Version "vX.X.X - (DEV)" 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])( \\(DEV\\))?<\\/h3>" "\n\t" RELEASES ${RELEASES}) string(REGEX REPLACE "
" "
\n\t
" RELEASES ${RELEASES}) configure_file(${APPDATA_CONF} ${APPDATA}) diff --git a/docs/changelog.md b/docs/changelog.md index ddf03c3e7..bd984193b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,13 @@ +### vX.X.X - 2023-04-20 (DEV) + +Description + +#### Added + +#### Changed + +---- + ### v1.3.0 - 2023-04-20 Performance Improvement and feature release