Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Verified Commit 6e8d8a06 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

skip commit commands if nothing to commit

parent 315e29ee
Pipeline #30294 passed with stages
in 2 minutes and 24 seconds
......@@ -50,14 +50,14 @@ save:commitIndex:
# commit
- git branch -D tmpBranch || true
- git checkout -b tmpBranch
- git add --all
- git commit -m "Update index"
- git checkout $CI_COMMIT_REF_NAME
- git checkout -b tmpBranch || true
- git add --all || true
- git commit -m "Update index" || true
- git checkout $CI_COMMIT_REF_NAME || true
- git pull origin $CI_COMMIT_REF_NAME
- git merge tmpBranch --ff
- git merge tmpBranch --ff || true
- git push origin $CI_COMMIT_REF_NAME || true
- git branch -D tmpBranch
- git branch -D tmpBranch || true
# build
# ------------------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment