Add bundle script

pull/37/head v1.0.0
Varun Patil 2022-09-07 19:08:20 -07:00
parent 1d937d7773
commit 5f2bd0eb7a
3 changed files with 28 additions and 1 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ build/
coverage/ coverage/
.php_cs.cache .php_cs.cache
vendor vendor
memories.tar.gz

View File

@ -11,8 +11,10 @@
* **🤔 Quick Recap**: Jump to anywhere in the timeline instantly. * **🤔 Quick Recap**: Jump to anywhere in the timeline instantly.
* **🖼️ Albums**: Browse your and shared folders with a similar, efficient timeline. * **🖼️ Albums**: Browse your and shared folders with a similar, efficient timeline.
* **🎦 Slideshow**: View photos from your timeline and albums easily. * **🎦 Slideshow**: View photos from your timeline and albums easily.
* **📱 Mobile Support**: Relive your memories on devices of any shape and size through the web app.
* **🗑️ Recycle**: Select and delete multiple photos and videos at once.
]]></description> ]]></description>
<version>0.0.1</version> <version>1.0.0</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="radialapps@gmail.com" >Varun Patil</author> <author mail="radialapps@gmail.com" >Varun Patil</author>
<website>https://github.com/pulsejet/memories</website> <website>https://github.com/pulsejet/memories</website>

24
bundle.sh 100755
View File

@ -0,0 +1,24 @@
#!/bin/bash
od=`pwd`
make build-js-production
rm -rf /tmp/memories
cp -R . /tmp/memories
cd /tmp
rm -rf memories.tar.gz
cd memories
git clean -xdf
rm -rf .git .gitignore Makefile package.json package-lock.json phpunit* webpack.js stylelint.config.js tests
rm -rf src js/*.map appinfo/screencap.*
rm -rf *.js .gitignore .npmignore
cd ..
tar -zvcf memories.tar.gz memories/
openssl dgst -sha512 -sign ~/.nextcloud/certificates/memories.key memories.tar.gz | openssl base64
rm -rf memories
cd $od
mv /tmp/memories.tar.gz .