Skip to content
Snippets Groups Projects
Commit a948befd authored by Andreas Fehn's avatar Andreas Fehn
Browse files

Update .gitlab-ci.yml

parent 70101dfb
No related branches found
No related tags found
No related merge requests found
Pipeline #854 failed
#image: kemixkoo/debian-maven
#image: duyviec/mvn-jdk8-git
variables: variables:
ARTIFACT_DIR: build/repo/ecore2java ARTIFACT_DIR: build/repo/ecore2java
...@@ -35,12 +32,16 @@ publish: ...@@ -35,12 +32,16 @@ publish:
- export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`} - export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`}
- echo $VERSION - echo $VERSION
script: script:
- git status
- git checkout ivy-repo || git checkout --orphan ivy-repo - git checkout ivy-repo || git checkout --orphan ivy-repo
- git status
- git reset - git reset
- git status
- cp -r $ARTIFACT_DIR . - cp -r $ARTIFACT_DIR .
- git add $(git ls-files -o ecore2java) - git add $(git ls-files -o ecore2java)
- git commit -m "[skip ci] Automatic release of version $VERSION" - git commit -m "[skip ci] Automatic release of version $VERSION"
- git show
# - git push --set-upstream origin ivy-repo # - git push --set-upstream origin ivy-repo
- git push ivy-repo # - git push ivy-repo
tags: tags:
- dockered - dockered
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment