Fix version pattern in version.sh

parent 82589801
Pipeline #87382351 passed with stages
in 8 minutes and 46 seconds
......@@ -10,7 +10,7 @@ if [[ $(echo ${exact_tag} | grep -E "^[0-9]+\.[0-9]+\.[0-9]+-gitlab\.[0-9]+(-rc[
exit 0
fi
pre_release_info=$(git describe --always --long | sed -r "s/v[0-9\.]+(-rc[0-9]+)?-gitlab\.[0-9]+-//")
pre_release_info=$(git describe --always --long | sed -r "s/v[0-9\.]+-gitlab\.[0-9]+(-rc[0-9]+)?-//")
echo "${version}-beta-${pre_release_info}"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment