diff options
author | david <public@beloved.name> | 2018-08-10 00:39:18 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-08-10 00:39:18 +0200 |
commit | 453e8375a1ca6173572e7a59e3cfb2b00063b0cd (patch) | |
tree | a4f2725b60a6dab726d6dae379614ce5c3b2ceaa /subprojects/freeamo/src | |
parent | d8070e699d70268ef9eb86c06e33c6e5912827dd (diff) |
FreeAMO: fixed the support_url variable
Diffstat (limited to 'subprojects/freeamo/src')
-rw-r--r-- | subprojects/freeamo/src/make-wiki | 2 |
1 files changed, 0 insertions, 2 deletions
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 |