Last fix for appstream generation script.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6b2afd3a1b
commit
871630ef0b
1 changed files with 3 additions and 1 deletions
|
@ -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>"
|
||||||
|
|
Loading…
Reference in a new issue