zip file generation with extension name adjustment

This commit is contained in:
Florian Dold 2020-09-09 13:48:31 +05:30
parent faac23f32b
commit a602e6714e
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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