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

Fix release script

parent ca83f9a7
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" = "$(shell 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