From 82878a5aaa0550d1a8eebdb978ed0364e8ac48e8 Mon Sep 17 00:00:00 2001 From: frantuma Date: Mon, 22 Feb 2021 13:44:48 +0100 Subject: [PATCH] automation - fix python launcher v1 --- CI/post-release-v1.sh | 2 +- CI/pre-release-v1.sh | 2 +- CI/prepare-release-v1.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CI/post-release-v1.sh b/CI/post-release-v1.sh index 221587bae5..d849ec253b 100755 --- a/CI/post-release-v1.sh +++ b/CI/post-release-v1.sh @@ -8,7 +8,7 @@ SC_RELEASE_TAG="v$SC_VERSION" ##################### ### publish pre-prepared release (tag is created) ##################### -$CUR/CI/publishReleaseV1.py "$SC_RELEASE_TAG" +python $CUR/CI/publishReleaseV1.py "$SC_RELEASE_TAG" ##################### ### update the version to next snapshot in maven project with set version diff --git a/CI/pre-release-v1.sh b/CI/pre-release-v1.sh index 17e6e8ea9f..be7678756b 100755 --- a/CI/pre-release-v1.sh +++ b/CI/pre-release-v1.sh @@ -6,7 +6,7 @@ export SC_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${parsedVersion. export SC_NEXT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` SC_QUALIFIER=`mvn -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.qualifier}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` #SC_LAST_RELEASE=`mvn -q -Dexec.executable="echo" -Dexec.args='${releasedVersion.version}' --non-recursive org.codehaus.mojo:build-helper-maven-plugin:3.2.0:released-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` -SC_LAST_RELEASE=`$CUR/CI/lastReleaseV1.py` +SC_LAST_RELEASE=`python $CUR/CI/lastReleaseV1.py` SC_RELEASE_TAG="v$SC_VERSION" diff --git a/CI/prepare-release-v1.sh b/CI/prepare-release-v1.sh index 1544cbeb95..66209dbfcb 100755 --- a/CI/prepare-release-v1.sh +++ b/CI/prepare-release-v1.sh @@ -6,7 +6,7 @@ export SC_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${parsedVersion. export SC_NEXT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` SC_QUALIFIER=`mvn -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.qualifier}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` #SC_LAST_RELEASE=`mvn -q -Dexec.executable="echo" -Dexec.args='${releasedVersion.version}' --non-recursive org.codehaus.mojo:build-helper-maven-plugin:3.2.0:released-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` -SC_LAST_RELEASE=`$CUR/CI/lastReleaseV1.py` +SC_LAST_RELEASE=`python $CUR/CI/lastReleaseV1.py` @@ -17,7 +17,7 @@ SC_RELEASE_TAG="v$SC_VERSION" ##################### ### draft release Notes with next release after last release, with tag ##################### -$CUR/CI/releaseNotesV1.py "$SC_LAST_RELEASE" "$SC_RELEASE_TITLE" "$SC_RELEASE_TAG" +python $CUR/CI/releaseNotesV1.py "$SC_LAST_RELEASE" "$SC_RELEASE_TITLE" "$SC_RELEASE_TAG" ##################### ### update the version to release in maven project with set version