From 453e8375a1ca6173572e7a59e3cfb2b00063b0cd Mon Sep 17 00:00:00 2001 From: david Date: Fri, 10 Aug 2018 00:39:18 +0200 Subject: FreeAMO: fixed the support_url variable --- subprojects/freeamo/ISSUES.md | 0 subprojects/freeamo/src/make-wiki | 2 -- 2 files changed, 2 deletions(-) create mode 100644 subprojects/freeamo/ISSUES.md diff --git a/subprojects/freeamo/ISSUES.md b/subprojects/freeamo/ISSUES.md new file mode 100644 index 0000000..e69de29 diff --git a/subprojects/freeamo/src/make-wiki b/subprojects/freeamo/src/make-wiki index 8e85c51..f1cb43f 100644 --- a/subprojects/freeamo/src/make-wiki +++ b/subprojects/freeamo/src/make-wiki @@ -135,14 +135,12 @@ while IFS= read -r table; do fi - support_url=$(jq .results[$entry].support_url "$file" | sed "s|en-US|en_US|;" | jq -r .en_US); last_updated=$(jq -r .results[$entry].last_updated $file | sed "s|T|\n|" | head -n 1 | sed "s|-|/|g"); # List JSON structure: cat json/$file | js '.' # XML value "homepage" is not always set in AMO API, but the XML require "Homepage URL" to be set: Therfore we use the AMO page itself in Homepage URL to complete the build of the repo automatically. echo "{{Entry" > "$run_path/build/wiki/$slug.wiki" - # Dash have to be removed in jq 1.3: https://github.com/stedolan/jq/issues/341 # Avoid specific versions since it's not compatible with all IceCat versions: # |Version download=https://addons.mozilla.org/firefox/downloads/latest/$id/addon-$version_id-latest.xpi # |Version identifier=$version -- cgit v1.2.3