typo in the if condition in the gitlab-ci script

1 job for master in 14 seconds
Status Job ID Name Coverage
  Deploy
failed #178962
deploy_zenodo

00:00:14

 
Name Stage Failure
failed
deploy_zenodo Deploy
Installing collected packages: urllib3, chardet, certifi, idna, requests
Successfully installed certifi-2020.6.20 chardet-3.0.4 idna-2.10 requests-2.24.0 urllib3-1.25.10
$ export REPOSITORY_NAME=template_project_escape
$ export REPOSITORY_URL=https://gitlab.in2p3.fr/escape2020/escape/$REPOSITORY_NAME.git
$ export LAST_RELEASE=`git ls-remote --tags --refs --sort="v:refname" $REPOSITORY_URL | tail -n1 | sed 's/.*\///'`
$ mkdir -p build
$ if [ -z "$LAST_RELEASE" ] then # collapsed multi-line command
/bin/bash: eval: line 114: syntax error near unexpected token `else'
ERROR: Job failed: exit code 2