Onionr/install/make-release.sh
Aaron 7d0d5da8c9 Merge branch 'master' into 'master'
Move make-release.sh to install/

See merge request beardog/Onionr!28
2020-06-13 13:46:56 +00:00

22 lines
518 B
Bash
Executable File

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