fix: Set GIT_BRANCH variable in release

This commit is contained in:
Robert Prehn 2021-06-18 19:08:35 -05:00
parent d5e975ccaa
commit c2c3e2bba8
2 changed files with 1 additions and 1 deletions

View file

@ -70,6 +70,7 @@ deploy_to_tags:
- export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL
- export GIT_COMMITTER_NAME=$GITLAB_USER_NAME
- export GIT_COMMITTER_EMAIL=$GITLAB_USER_EMAIL
- export GIT_BRANCH=$CI_COMMIT_REF_NAME
- git config user.email $GITLAB_USER_EMAIL
- git config user.name $GITLAB_USER_NAME
- npm install --no-save

View file

@ -28,7 +28,6 @@
"semantic-release": "^17.4.4"
},
"release": {
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer"
],