From a948befd4b23d4c5451c0fbfebf6feef8861e533 Mon Sep 17 00:00:00 2001 From: Andreas Fehn <andreas.fehn@tu-dresden.de> Date: Mon, 23 Jul 2018 08:33:27 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d139a9..f2425a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,3 @@ -#image: kemixkoo/debian-maven -#image: duyviec/mvn-jdk8-git - variables: ARTIFACT_DIR: build/repo/ecore2java @@ -35,12 +32,16 @@ publish: - export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`} - echo $VERSION script: + - git status - git checkout ivy-repo || git checkout --orphan ivy-repo + - git status - git reset + - git status - cp -r $ARTIFACT_DIR . - git add $(git ls-files -o ecore2java) - git commit -m "[skip ci] Automatic release of version $VERSION" + - git show # - git push --set-upstream origin ivy-repo - - git push ivy-repo +# - git push ivy-repo tags: - dockered -- GitLab