aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Geyer2024-06-19 20:29:47 +0200
committerPhilipp Geyer2024-06-19 20:29:47 +0200
commit204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61 (patch)
tree4b7789b9089ca62437930c8fcc726b541d169cb0
parent638ea965de91df137576ad762894795fee370c2e (diff)
downloadsimpleci-204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61.tar.gz
simpleci-204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61.tar.bz2
simpleci-204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61.zip
fixing git commands
-rwxr-xr-xsimpleci.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/simpleci.sh b/simpleci.sh
index 5a09a8c..2fef632 100755
--- a/simpleci.sh
+++ b/simpleci.sh
@@ -53,6 +53,7 @@ trigger() {
pushd ${LOG_DIR} > /dev/null
git checkout -B ${DIR}
+ echo > build.log
popd > /dev/null
if [ ${REPO} ]; then
@@ -69,7 +70,8 @@ trigger() {
fi
pushd ${LOG_DIR} > /dev/null
- git commit -am "Build ${TIMESTAMP}"
+ git add build.log
+ git commit -m "Build ${TIMESTAMP}"
git push -u origin "${DIR}"
popd > /dev/null
}