mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 10:45:39 +03:00
add description child
This commit is contained in:
parent
04cf21ea0c
commit
be1ecb6a57
@ -1,6 +1,6 @@
|
|||||||
# add release notes to the appdata file
|
# add release notes to the appdata file
|
||||||
file(READ "${CHANGELOG_HTML}" HTML_CHANGELOGS)
|
file(READ "${CHANGELOG_HTML}" HTML_CHANGELOGS)
|
||||||
string(REPLACE "\n" "\n\t" RELEASES ${HTML_CHANGELOGS}) # add tabulator
|
string(REPLACE "\n" "\n\t" RELEASES ${HTML_CHANGELOGS}) # 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'>" RELEASES ${RELEASES})
|
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 \\/>" "</release>" RELEASES ${RELEASES})
|
string(REGEX REPLACE "<hr \\/>" "</description>\n\t</release>" RELEASES ${RELEASES})
|
||||||
configure_file(${APPDATA_CONF} ${APPDATA})
|
configure_file(${APPDATA_CONF} ${APPDATA})
|
||||||
|
Loading…
Reference in New Issue
Block a user