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
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ if [ -z "${GITLAB_TOKEN}" ]; then
exit 1
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
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment