commit a602e6714e09b80599b5db7b340aefcce459c973 parent faac23f32b6ee7b42a57164e5ae56a8e43977b17 Author: Florian Dold <florian.dold@gmail.com> Date: Wed, 9 Sep 2020 13:48:31 +0530 zip file generation with extension name adjustment Diffstat:
| M | packages/taler-wallet-webextension/pack.sh | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh @@ -11,5 +11,11 @@ vers_manifest=$(jq -r '.version' manifest.json) zipfile="taler-wallet-${vers_manifest}.zip" -rm -f -- "$zipfile" +mkdir tmp +jq '. | .name = "GNU Taler Wallet" ' manifest.json > tmp/manifest.json +cp -r dist static tmp/ +cd tmp zip -r "$zipfile" dist static manifest.json +cd .. +mv "./tmp/$zipfile" ./ +rm -rf tmp