[skip-ci] Fix update-project-version.sh for release-train

This commit is contained in:
Corneil du Plessis
2023-07-21 13:11:15 +02:00
parent a89b4d8409
commit 47db4d6fa1
2 changed files with 3 additions and 0 deletions

View File

@@ -26,4 +26,5 @@ else
fi
PROPS="zip.deployed=false;zip.type=docs;zip.name=stream-applications;zip.displayname=Stream Applications"
echo "Setting $PROPS on $PROP_PATH"
export JFROG_CLI_FAIL_NO_OP=true
jfrog rt set-props "$PROP_PATH" "$PROPS"

View File

@@ -49,6 +49,7 @@ if [ "$NEW_VERSION" != "$VERSION" ]; then
echo "Expected stream-applications version to be $VERSION not $NEW_VERSION"
exit 1
fi
echo "Version updated: stream-applications: $NEW_VERSION"
PROJECTS="stream-applications-release-train stream-applications-descriptor stream-applications-docs"
for proj in $PROJECTS; do
NEW_RT_VERSION=$($SCDIR/mvnw help:evaluate -Dexpression=project.version -q -DforceStdout -pl :$proj 2> /dev/null)
@@ -57,4 +58,5 @@ for proj in $PROJECTS; do
echo "Expected $proj version to be $RELEASE_TRAIN_VERSION not $NEW_RT_VERSION"
exit 1
fi
echo "Version updated: $proj: $NEW_RT_VERSION"
done