From 3374dd8f50f25a0fc9bd4edcb08f0a7aee024fef Mon Sep 17 00:00:00 2001 From: Aaron <2401940-20esaua@users.noreply.gitlab.com> Date: Thu, 9 Jan 2020 03:56:49 +0000 Subject: [PATCH] Move make-release.sh to install/ --- make-release.sh => install/make-release.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) rename make-release.sh => install/make-release.sh (86%) diff --git a/make-release.sh b/install/make-release.sh similarity index 86% rename from make-release.sh rename to install/make-release.sh index 67175ebc..42b03c55 100755 --- a/make-release.sh +++ b/install/make-release.sh @@ -1,12 +1,19 @@ -#!/usr/bin/bash +#!/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 cp *.md dist/onionr/ + PIP_USER=false export PIP_USER pip3 install --require-hashes -r requirements.txt --target=dist/onionr/onionr/ pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/onionr/ cd dist -tar -czvf onionr.tar.gz onionr + +tar -czvf onionr.tar.gz onionr \ No newline at end of file