fix: Set git email and name before release
This commit is contained in:
parent
5012556d50
commit
5614d582d2
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ deploy_to_tags:
|
||||||
- export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL
|
- export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL
|
||||||
- export GIT_COMMITTER_NAME=$GITLAB_USER_NAME
|
- export GIT_COMMITTER_NAME=$GITLAB_USER_NAME
|
||||||
- export GIT_COMMITTER_EMAIL=$GITLAB_USER_EMAIL
|
- 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
|
- npm install --no-save
|
||||||
- git status
|
- git status
|
||||||
- npx semantic-release --repository-url=$CI_REPOSITORY_URL
|
- npx semantic-release --repository-url=$CI_REPOSITORY_URL
|
||||||
|
|
Loading…
Reference in a new issue