Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
6e8d8a06
Verified
Commit
6e8d8a06
authored
Jul 24, 2020
by
Laurent Heirendt
✈
Browse files
skip commit commands if nothing to commit
parent
315e29ee
Pipeline
#30294
passed with stages
in 2 minutes and 24 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6e8d8a06
...
...
@@ -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
# ------------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment