Skip to content
Snippets Groups Projects
Unverified Commit f6830276 authored by Timo Furrer's avatar Timo Furrer
Browse files

Fix release script check

parent d713fe19
Branches
Tags
No related merge requests found
...@@ -13,7 +13,7 @@ if [ -z "${GITLAB_TOKEN}" ]; then ...@@ -13,7 +13,7 @@ if [ -z "${GITLAB_TOKEN}" ]; then
exit 1 exit 1
fi fi
if [ "main" = "$(git rev-parse --abbrev-ref HEAD)" ]; then if [ "main" != "$(git rev-parse --abbrev-ref HEAD)" ]; then
echo "Error: please checkout the main branch first: git checkout main." >&2 echo "Error: please checkout the main branch first: git checkout main." >&2
exit 1 exit 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment