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"

View File

@ -8,7 +8,8 @@
"test": "echo \"Error: no test specified\" && exit 1",
"build": "cordova prepare browser",
"start": "cordova run -- --livereload",
"eslint": "eslint 'src/**/*.tsx'"
"eslint": "eslint 'src/**/*.tsx'",
"export": "echo export script should be added for future versions"
},
"keywords": [
"ecosystem:cordova"