From 2c543f66892865478bc87df8bb1687eec7491e87 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Tue, 9 Jan 2024 13:37:39 +0100 Subject: [PATCH] Explicit python3 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 966f864..10d65cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -173,7 +173,7 @@ upload-and-tag-release: # Set release version and deploy. Commit, tag and push. - &release_and_tag # Change version in pom.xml - build new pom_with_models.xml - "./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS validate -DremoveSnapshot" - - "python build_pom_with_models.py" + - "python3 build_pom_with_models.py" - export RELEASE_VERSION=$(./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*") - echo "New version in release '$RELEASE_VERSION'" - export RELEASE_TAG="v${RELEASE_VERSION}" -- GitLab