diff options
author | Philipp Geyer | 2024-06-19 20:29:47 +0200 |
---|---|---|
committer | Philipp Geyer | 2024-06-19 20:29:47 +0200 |
commit | 204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61 (patch) | |
tree | 4b7789b9089ca62437930c8fcc726b541d169cb0 | |
parent | 638ea965de91df137576ad762894795fee370c2e (diff) | |
download | simpleci-204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61.tar.gz simpleci-204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61.tar.bz2 simpleci-204bb3b0f50a3f31714b7a0ef1cf76fc6b5e2f61.zip |
fixing git commands
-rwxr-xr-x | simpleci.sh | 4 |
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 } |