diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-09 13:48:31 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-09 13:48:31 +0530 |
commit | a602e6714e09b80599b5db7b340aefcce459c973 (patch) | |
tree | aa931385da7d66b43d1b5be9b229b2eb9639075c | |
parent | faac23f32b6ee7b42a57164e5ae56a8e43977b17 (diff) |
zip file generation with extension name adjustment
-rwxr-xr-x | packages/taler-wallet-webextension/pack.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh index 65837f493..99ee1e35a 100755 --- 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 |