Last fix for appstream generation script.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-04-22 16:32:56 +02:00
parent 6b2afd3a1b
commit 871630ef0b
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -48,6 +48,8 @@ BEGIN {
text = substr(s,2) text = substr(s,2)
# Removing links # Removing links
text = gensub(/\[([^\]]+)\]\(([^\)]+)\)/, "\\1", "g", text); text = gensub(/\[([^\]]+)\]\(([^\)]+)\)/, "\\1", "g", text);
# Fixing & in text.
text = gensub(/&/, "&", "g", text)
print " <li>"text"</li>" print " <li>"text"</li>"
} }
/^\s*--/ { /^\s*--/ {
@ -75,7 +77,7 @@ END {
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>" print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>"
print " </artifact>" print " </artifact>"
print " <artifact type=\"binary\" platform=\"x86_64-macos-any\">" print " <artifact type=\"binary\" platform=\"x86_64-macos-any\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe</location>" print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/LogarithmPlotter-v"version"-setup.dmg</location>"
print " </artifact>" print " </artifact>"
print " <artifact type=\"source\">" print " <artifact type=\"source\">"
print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-"version".tar.gz</location>" print " <location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-"version".tar.gz</location>"