From 9be4afe241c56e64944ebde5834569ced7c75334 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 6 Nov 2022 13:26:41 +0000 Subject: [PATCH] fix: allow setting custom remote for publish --- scripts/publish.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 90c093cf..0ce86fe7 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -2,7 +2,10 @@ # Build and publish release to production server # Remote Server -REMOTE=revolt-de-nrb-1 +if [ -z "$REMOTE" ]; then + echo "Please set REMOTE!" + exit +fi # Remote Directory REMOTE_DIR=/root/revite