Hi Team,
I am trying build Elastic search Docker image for s390x architecture. And I am looking at this file for the instructions/Steps in docker file
https://github.com/linux-on-ibm-z/scripts/blob/master/Elasticsearch/8.14.1/build_elasticsearch.sh
As It can be seen in lines 251-257, before gradle build we are setting a version for x-pack ml-plugin. This version is being fetched as below
#get the latest tag version and replace it in x-pack/plugin/ml/build.gradle to avoid build issue
git fetch --tags
latest_tag=$(git tag | sort -V | tail -n1)
latest_tag="${latest_tag:1}-SNAPSHOT"
This will always fetch the latest tag, so even if the version is 8.14.x or 8.13.x it will always fetch 8.15.1. Wanted a clarification whether this will cause any compatibility issues during the runtime.
Thanks,
Amol