mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-10-26 10:39:20 +03:00
remove h4
This commit is contained in:
parent
be1ecb6a57
commit
229b9d0b18
@ -1,6 +1,7 @@
|
||||
# add release notes to the appdata file
|
||||
file(READ "${CHANGELOG_HTML}" HTML_CHANGELOGS)
|
||||
string(REPLACE "\n" "\n\t" RELEASES ${HTML_CHANGELOGS}) # add tabulator
|
||||
string(REGEX REPLACE "<h4>([A-Fa-f0-9]*)<\\/h4>" "\\1" RELEASES ${HTML_CHANGELOGS}) # h4 is unknow to appdata
|
||||
string(REPLACE "\n" "\n\t" RELEASES ${RELEASES}) # add tabulator
|
||||
string(REGEX REPLACE "<h3>(v[1-9]\\.[0-9]\\.[0-9]) - ([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9])<\\/h3>" "<release version='\\1' date='\\2'>\n\t<description>" RELEASES ${RELEASES})
|
||||
string(REGEX REPLACE "<hr \\/>" "</description>\n\t</release>" RELEASES ${RELEASES})
|
||||
configure_file(${APPDATA_CONF} ${APPDATA})
|
||||
|
Loading…
Reference in New Issue
Block a user