Move make-release.sh to install/

This commit is contained in:
Aaron 2020-01-09 03:56:49 +00:00
parent 87ea8d137b
commit 3374dd8f50

View File

@ -1,12 +1,19 @@
#!/usr/bin/bash #!/bin/sh
set -e
cd ..
rm -rf dist rm -rf dist
mkdir dist mkdir dist
mkdir dist/onionr/ mkdir dist/onionr/
cp -t dist/onionr/ -r docs static-data install src onionr.sh start-daemon.sh setprofile.sh cp -t dist/onionr/ -r docs static-data install src onionr.sh start-daemon.sh setprofile.sh
cp *.md dist/onionr/ cp *.md dist/onionr/
PIP_USER=false PIP_USER=false
export PIP_USER export PIP_USER
pip3 install --require-hashes -r requirements.txt --target=dist/onionr/onionr/ pip3 install --require-hashes -r requirements.txt --target=dist/onionr/onionr/
pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/onionr/ pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/onionr/
cd dist cd dist
tar -czvf onionr.tar.gz onionr
tar -czvf onionr.tar.gz onionr