aboutsummaryrefslogtreecommitdiff
path: root/simpleci.sh
diff options
context:
space:
mode:
Diffstat (limited to 'simpleci.sh')
-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
}