From 871630ef0b7d8fdb97344a340733bfcd3d050931 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 22 Apr 2022 16:32:56 +0200 Subject: [PATCH] Last fix for appstream generation script. --- linux/generate-appstream-changelog.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linux/generate-appstream-changelog.sh b/linux/generate-appstream-changelog.sh index 1baeaa3..331239f 100644 --- a/linux/generate-appstream-changelog.sh +++ b/linux/generate-appstream-changelog.sh @@ -48,6 +48,8 @@ BEGIN { text = substr(s,2) # Removing links text = gensub(/\[([^\]]+)\]\(([^\)]+)\)/, "\\1", "g", text); + # Fixing & in text. + text = gensub(/&/, "&", "g", text) print "
  • "text"
  • " } /^\s*--/ { @@ -75,7 +77,7 @@ END { print " https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe" print " " print " " - print " https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-v"version"-setup.exe" + print " https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/LogarithmPlotter-v"version"-setup.dmg" print " " print " " print " https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v"version"/logarithmplotter-"version".tar.gz"