fix: Checkout master before release

This commit is contained in:
Robert Prehn 2021-06-18 20:04:24 -05:00
parent c2c3e2bba8
commit 8ce178a33f

View file

@ -73,6 +73,7 @@ deploy_to_tags:
- export GIT_BRANCH=$CI_COMMIT_REF_NAME
- git config user.email $GITLAB_USER_EMAIL
- git config user.name $GITLAB_USER_NAME
- git checkout $CI_COMMIT_REF_NAME
- npm install --no-save
- git status
- npx semantic-release --repository-url=$CI_REPOSITORY_URL