From b106201a9e71ce49e88d12c2466ef058382d479d Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Fri, 14 May 2021 17:29:31 -0500 Subject: [PATCH] fix: Use pipeline starter as tag author --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a596e098..ec9f6090 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,6 +64,10 @@ deploy_to_tags: paths: - node_modules/ script: + - export GIT_AUTHOR_NAME=$GITLAB_USER_NAME + - export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL + - export GIT_COMMITTER_NAME=$GITLAB_USER_NAME + - export GIT_COMMITTER_EMAIL=$GITLAB_USER_EMAIL - npm install - npx semantic-release --repository-url=$CI_REPOSITORY_URL - script/generate-build-version