Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lipperts WEB
PIWIK Plugin DisableTracking
Commits
d1deca05
Commit
d1deca05
authored
Apr 09, 2021
by
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
Changes
1
Pipelines
63
Hide whitespace changes
Inline
Side-by-side
_ci/release.yml
View file @
d1deca05
...
...
@@ -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
Write
Preview
Supports
Markdown
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