From 4fff33e9d658ca458c31394767a92f5f6599a643 Mon Sep 17 00:00:00 2001 From: Christian Kollmann Date: Fri, 30 Oct 2020 10:45:38 +0100 Subject: CI: Fix typo --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d0e2687..4fbd5459 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ variables: LANG: "en_US.UTF-8" LANGUAGE: "en_US" LIB_NAME: "eaaf-components" - MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true --settings .cisettings.xml" + MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true" MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${CI_PROJECT_DIR}/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true" GIT_SUBMODULE_STRATEGY: recursive GIT_DEPTH: "2" @@ -44,7 +44,7 @@ publishToGitlab: 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" - mvnw $MAVEN_CLI_OPTS deploy -s .cisettings.xml -P gitlabDeploy + mvn $MAVEN_CLI_OPTS deploy -s .cisettings.xml -P gitlabDeploy echo "VERSION=$VERSION" >> variables.env artifacts: when: always -- cgit v1.2.3