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

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

Closes #290
parent 779e8a31
No related branches found
No related tags found
2 merge requests!269Last fixes before releasing 1.2.0,!268fix(CI): let version check ignore 'v' prefix
Pipeline #61787 canceled
......@@ -39,8 +39,8 @@ if [[ $exit_status -ne 0 ]]; then
exit 1
fi
# Check if the output is exactly the tag name
if [[ "$version_output" == *"${TAG_NAME}" ]]; then
# Check if the output is exactly the tag name (ignoring 'v' prefix)
if [[ "${version_output#v}" == "${TAG_NAME#v}" ]]; then
echo "Version is correctly set: $version_output"
else
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