diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6ebe486..4c6c1aa0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,7 +91,10 @@ publishToGitlab: - mkdir -p ~/.ssh #- ssh-keyscan apps.egiz.gv.at >> ~/.ssh/known_hosts - echo $DEPLOY_EGIZ >> ~/.ssh/known_hosts - - chmod 644 ~/.ssh/known_hosts + - echo $DEPLOY_EGIZ_V2 >> ~/.ssh/known_hosts + - echo $DEPLOY_EGIZ_V3 >> ~/.ssh/known_hosts + - cat ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts script: | export VERSION=$(mvn -B help:evaluate -Dexpression=project.version -B | grep -v "\[INFO\]" | grep -Po "\d+\.\d+\.\d+((-\w*)+)?") echo "Publishing version $VERSION for $LIB_NAME to public EGIZ maven" |