2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-13 07:10:49 +00:00
Comrad/bin/komrade-update
2020-09-16 20:13:41 +01:00

11 lines
198 B
Plaintext
Executable File

SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
wd=`pwd`
path=`realpath "$SCRIPTPATH/.."`
cd $path
git pull
git add .
git commit -m 'komrade update!'
git push
cd $wd