common manifest, bump version

This commit is contained in:
Florian Dold 2022-09-07 15:55:54 +02:00
parent 6222f831a1
commit ef1aab5229
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
4 changed files with 22 additions and 27 deletions

View File

@ -0,0 +1,18 @@
{
"name": "GNU Taler Wallet (git)",
"description": "Privacy preserving and transparent payments",
"author": "GNU Taler Developers",
"version": "0.9.0.18",
"version_name": "0.9.0-dev.18",
"icons": {
"16": "static/img/taler-logo-16.png",
"19": "static/img/taler-logo-19.png",
"32": "static/img/taler-logo-32.png",
"38": "static/img/taler-logo-38.png",
"48": "static/img/taler-logo-48.png",
"64": "static/img/taler-logo-64.png",
"128": "static/img/taler-logo-128.png",
"256": "static/img/taler-logo-256.png",
"512": "static/img/taler-logo-512.png"
}
}

View File

@ -1,10 +1,5 @@
{
"manifest_version": 2,
"name": "GNU Taler Wallet (git)",
"description": "Privacy preserving and transparent payments",
"author": "GNU Taler Developers",
"version": "0.9.0.17",
"version_name": "0.9.0-dev.17",
"minimum_chrome_version": "51",
"minimum_opera_version": "36",
"browser_specific_settings": {
@ -13,17 +8,6 @@
"strict_min_version": "57.0"
}
},
"icons": {
"16": "static/img/taler-logo-16.png",
"19": "static/img/taler-logo-19.png",
"32": "static/img/taler-logo-32.png",
"38": "static/img/taler-logo-38.png",
"48": "static/img/taler-logo-48.png",
"64": "static/img/taler-logo-64.png",
"128": "static/img/taler-logo-128.png",
"256": "static/img/taler-logo-256.png",
"512": "static/img/taler-logo-512.png"
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
@ -61,4 +45,4 @@
"page": "static/background.html",
"persistent": true
}
}
}

View File

@ -1,10 +1,5 @@
{
"manifest_version": 3,
"name": "GNU Taler Wallet (git)",
"description": "Privacy preserving and transparent payments",
"author": "GNU Taler Developers",
"version": "0.9.0.17",
"version_name": "0.9.0-dev.17",
"minimum_chrome_version": "88",
"icons": {
"16": "static/img/taler-logo-16.png",

View File

@ -11,12 +11,12 @@ fi
[[ "$ENV" == "prod" || "$ENV" == "dev" ]] || { echo "first argument must be prod or dev"; exit 1; }
vers_manifest=$(jq -r '.version' manifest-v2.json)
vers_manifest=$(jq -r '.version' manifest-common.json)
zipfile="taler-wallet-webextension-${vers_manifest}.zip"
TEMP_DIR=$(mktemp -d)
jq '. | .name = "GNU Taler Wallet" ' manifest-v2.json > $TEMP_DIR/manifest.json
jq -s 'add | .name = "GNU Taler Wallet" ' manifest-common.json manifest-v2.json > $TEMP_DIR/manifest.json
cp -r dist static $TEMP_DIR
find $TEMP_DIR/dist \( -name "test.*" -o -name "*.test.*" -o -name "stories.*" -o -name "*.dev.*" \) -delete
@ -35,12 +35,10 @@ mkdir -p extension/v2/unpacked
echo "Packed webextension: extension/v2/$zipfile"
cp -rf src extension/v2/unpacked
vers_manifest=$(jq -r '.version' manifest-v3.json)
zipfile="taler-wallet-webextension-${vers_manifest}.zip"
TEMP_DIR=$(mktemp -d)
jq '. | .name = "GNU Taler Wallet" ' manifest-v3.json > $TEMP_DIR/manifest.json
jq -s 'add | .name = "GNU Taler Wallet" ' manifest-common.json manifest-v3.json > $TEMP_DIR/manifest.json
cp -r dist static service_worker.js $TEMP_DIR
find $TEMP_DIR/dist \( -name "test.*" -o -name "*.test.*" -o -name "stories.*" -o -name "*.dev.*" \) -delete