File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,11 @@ readonly HELIDON_VERSION
5151# If needed we clone the helidon-examples repo
5252if [ ! -d " ${WS_DIR} /helidon-examples" ]; then
5353 echo " Cloning examples repository into ${WS_DIR} /helidon-examples"
54- git clone --branch dev-4.x --single-branch https://github.com/helidon-io/helidon-examples.git " ${WS_DIR} /helidon-examples"
55-
56- # If in a tag, update the version on the fly
57- if [ -n " $( git tag --points-at HEAD) " ] ; then
58- " ${WS_DIR} /helidon-examples" /etc/scripts/update-version.sh " ${HELIDON_VERSION} "
59- fi
54+ # We can't clone the dev-4.x branch since that has already moved on to the Helidon version in main.
55+ # So we use the tag of the last matching minor, then update the helidon version in examples to
56+ # match what is in our branch
57+ git clone --branch 4.3.2 --single-branch https://github.com/helidon-io/helidon-examples.git " ${WS_DIR} /helidon-examples"
58+ " ${WS_DIR} /helidon-examples" /etc/scripts/update-version.sh " ${HELIDON_VERSION} "
6059fi
6160
6261HELIDON_VERSION_IN_EXAMPLES=$( version " ${WS_DIR} /helidon-examples/pom.xml" )
You can’t perform that action at this time.
0 commit comments