Skip to content

Commit

Permalink
Update setting of package version.
Browse files Browse the repository at this point in the history
  • Loading branch information
corneil committed Aug 17, 2023
1 parent b897ee0 commit ffda245
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spring-cloud-dataflow-package/set-package-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
SCDIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
MVNW=$SCDIR/../mvnw
if [ "$PACKAGE_VERSION" = "" ]; then
$MVNW help:evaluate -Dexpression=project.version -q -DforceStdout > /dev/null
PACKAGE_VERSION=$($MVNW help:evaluate -Dexpression=project.version -q -DforceStdout)
if [[ "$PACKAGE_VERSION" == *"Downloading"* ]]; then
PACKAGE_VERSION=$($MVNW help:evaluate -Dexpression=project.version -q -DforceStdout)
fi
fi
echo "PACKAGE_VERSION=$PACKAGE_VERSION"
if [[ "$PACKAGE_VERSION" != *"SNAPSHOT"* ]]; then
Expand Down
1 change: 1 addition & 0 deletions spring-cloud-dataflow-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>[2.2,)</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
1 change: 1 addition & 0 deletions src/deploy/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ scdf-type:
default:
scdf-type: 'oss'
version: 'release'
package-version: 2.11.0-RC1

0 comments on commit ffda245

Please sign in to comment.