mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-08-20 10:50:06 +02:00
fixed typos, added log
This commit is contained in:
parent
0857c434d0
commit
86e5e420ca
@ -28,6 +28,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# get commit hashes
|
# get commit hashes
|
||||||
|
echo "Getting kaido info"
|
||||||
cd "$root"
|
cd "$root"
|
||||||
|
|
||||||
currentCommit_kaido=$(git rev-parse --verify HEAD)
|
currentCommit_kaido=$(git rev-parse --verify HEAD)
|
||||||
@ -37,16 +38,17 @@ if [ -f "${previousCommitFile_kaido}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "Getting config info"
|
||||||
cd "$configDir"
|
cd "$configDir"
|
||||||
|
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
currentCommit_config=$(git rev-parse --verify HEAD)
|
currentCommit_config=$(git rev-parse --verify HEAD)
|
||||||
previusCommit_config=origin/master
|
previousCommit_config=origin/master
|
||||||
|
|
||||||
if [ -f "${previousCommitFIle_config}" ]; then
|
if [ -f "${previousCommitFIle_config}" ]; then
|
||||||
previusCommit_config=$(head -n 1 ${previousCommitFIle_config})
|
previousCommit_config=$(head -n 1 ${previousCommitFIle_config})
|
||||||
fi
|
fi
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user