fix: Checkout master before release
This commit is contained in:
parent
c2c3e2bba8
commit
8ce178a33f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue