PreRelease
This commit is contained in:
16
bin/release.sh
Executable file
16
bin/release.sh
Executable 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"
|
||||
Reference in New Issue
Block a user