Skip to content

Commit f257093

Browse files
committed
Don't build quickstrts off of dev-4.x. Use recent 4.3 tag.
1 parent 4f3d3f0 commit f257093

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

etc/scripts/test-quickstarts.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,12 @@ readonly HELIDON_VERSION
6464

6565
# If needed we clone the helidon-examples repo
6666
if [ ! -d "${WS_DIR}/helidon-examples" ]; then
67+
# We can't clone the dev-4.x branch since that has already moved on to the Helidon version in main.
68+
# So we use the tag of the last matching minor, then update the helidon version in examples to
69+
# match what is in our branch
6770
echo "Cloning examples repository into ${WS_DIR}/helidon-examples"
68-
git clone --branch dev-4.x --single-branch https://github.com/helidon-io/helidon-examples.git "${WS_DIR}/helidon-examples"
69-
70-
# If in a tag, update the version on the fly
71-
if [ -n "$(git tag --points-at HEAD)" ] ; then
72-
"${WS_DIR}/helidon-examples"/etc/scripts/update-version.sh "${HELIDON_VERSION}"
73-
fi
71+
git clone --branch 4.3.2 --single-branch https://github.com/helidon-io/helidon-examples.git "${WS_DIR}/helidon-examples"
72+
"${WS_DIR}/helidon-examples"/etc/scripts/update-version.sh "${HELIDON_VERSION}"
7473
fi
7574

7675
# Build quickstart native-image executable and run jar file

0 commit comments

Comments
 (0)