fix: Set git email and name before release

This commit is contained in:
Robert Prehn 2021-06-18 18:35:06 -05:00
parent 5012556d50
commit 5614d582d2

View file

@ -70,6 +70,8 @@ deploy_to_tags:
- export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL
- export GIT_COMMITTER_NAME=$GITLAB_USER_NAME
- export GIT_COMMITTER_EMAIL=$GITLAB_USER_EMAIL
- git config user.email $GITLAB_USER_EMAIL
- git config user.name $GITLAB_USER_NAME
- npm install --no-save
- git status
- npx semantic-release --repository-url=$CI_REPOSITORY_URL