Skip to content
Snippets Groups Projects
Commit fd8be472 authored by René Paris's avatar René Paris
Browse files

Merge branch '290-opsimulation-v1-2-0-version-is-falsely-set' into develop

fix(CI): let version check ignore 'v' prefix

See merge request !268
parents 55a697e8 9192dfcc
No related branches found
No related tags found
1 merge request!269Last fixes before releasing 1.2.0
Pipeline #61829 passed
...@@ -39,8 +39,8 @@ if [[ $exit_status -ne 0 ]]; then ...@@ -39,8 +39,8 @@ if [[ $exit_status -ne 0 ]]; then
exit 1 exit 1
fi fi
# Check if the output is exactly the tag name # Check if the output is exactly the tag name (ignoring 'v' prefix)
if [[ "$version_output" == *"${TAG_NAME}" ]]; then if [[ "${version_output#v}" == "${TAG_NAME#v}" ]]; then
echo "Version is correctly set: $version_output" echo "Version is correctly set: $version_output"
else else
echo "Version is falsely set: $version_output" echo "Version is falsely set: $version_output"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment