Commit d1deca05 authored by Oliver Lippert's avatar Oliver Lippert
Browse files

ci - github - just commit / push / tag if needed

parent aec39513
Pipeline #12126 passed with stages
in 5 minutes and 5 seconds
......@@ -67,9 +67,11 @@ github-release:
- unzip $CI_PROJECT_DIR/$ZIPFILENAME -d /tmp/github
# Commit changes
- git add -A
- git commit -m "$CI_COMMIT_MESSAGE"
- git push origin
- |
[[ -n "$CI_COMMIT_TAG" ]] && git tag $CI_COMMIT_TAG || true
[[ -z $(git status -s) ]] && exit 0 || true
- git commit -m "$CI_COMMIT_MESSAGE" --signoff
- git push origin
- |
[[ -n "$CI_COMMIT_TAG" ]] && git push origin --tags || true
[[ -z "$CI_COMMIT_TAG" ]] && exit 0 || true
- git tag $CI_COMMIT_TAG
- git push origin --tags
Supports Markdown
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