Onionr/install/make-release.sh

22 lines
518 B
Bash
Raw Normal View History

2020-01-09 03:56:49 +00:00
#!/bin/sh
set -e
cd ..
rm -rf dist
mkdir dist
mkdir dist/onionr/
2020-02-05 07:49:24 +00:00
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/
2020-01-09 03:56:49 +00:00
PIP_USER=false
export PIP_USER
cd dist
tar -czvf onionr-no-deps.tar.gz onionr
cd ..
2020-02-04 21:42:08 +00:00
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
2020-01-09 03:56:49 +00:00
tar -czvf onionr.tar.gz onionr