PreRelease

This commit is contained in:
sguenter
2025-01-01 22:54:30 +01:00
parent df1f5ab52b
commit 51756a0a5c
2 changed files with 18 additions and 1 deletions

16
bin/release.sh Executable file
View File

@@ -0,0 +1,16 @@
TAG=$1
PROJECT_NAME=prayercircle
REPO_NAME=git.silas.link:Ainias/prayercircle
# exit when error occurs
set -e
# Kills any process when the script ends
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
if [ -z "$TAG" ]; then
echo "no tag given, ABORT!"
exit 1
fi;
ssh dicetable.net "/root/bin/install.sh \"$PROJECT_NAME\" \"$TAG\" prayercircle 1"