Skip to content

Commit

Permalink
Merge pull request #3885 from swagger-api/python-launcher
Browse files Browse the repository at this point in the history
CI python 2 launcher
  • Loading branch information
frantuma authored Feb 18, 2021
2 parents acff221 + e5f3805 commit 3f36bab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CI/post-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd ../..
#####################
### publish pre-prepared release (tag is created)
#####################
$CUR/CI/publishRelease.py "$SC_RELEASE_TAG"
python $CUR/CI/publishRelease.py "$SC_RELEASE_TAG"

#####################
### update the version to next snapshot in maven project with set version
Expand Down
2 changes: 1 addition & 1 deletion CI/pre-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export SC_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersi
export SC_NEXT_VERSION=`./mvnw -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=`./mvnw -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=`./mvnw -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/lastRelease.py`
SC_LAST_RELEASE=`python $CUR/CI/lastRelease.py`


SC_RELEASE_TAG="v$SC_VERSION"
Expand Down
4 changes: 2 additions & 2 deletions CI/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export SC_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersi
export SC_NEXT_VERSION=`./mvnw -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=`./mvnw -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=`./mvnw -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/lastRelease.py`
SC_LAST_RELEASE=`python $CUR/CI/lastRelease.py`



Expand All @@ -17,7 +17,7 @@ SC_RELEASE_TAG="v$SC_VERSION"
#####################
### draft release Notes with next release after last release, with tag
#####################
$CUR/CI/releaseNotes.py "$SC_LAST_RELEASE" "$SC_RELEASE_TITLE" "$SC_RELEASE_TAG"
python $CUR/CI/releaseNotes.py "$SC_LAST_RELEASE" "$SC_RELEASE_TITLE" "$SC_RELEASE_TAG"

#####################
### update the version to release in maven project with set version
Expand Down

0 comments on commit 3f36bab

Please sign in to comment.