From 9d77e562f384fe962bc146b94f476dcf411302a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Wed, 21 Sep 2016 15:36:45 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad4678726..8779b3c10 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,8 +112,13 @@ publish:expurge: "docs/proof of stake.md" src/client/embedded/bootstrap/mining/' --env-filter - 'export GIT_AUTHOR_NAME="Dynamic Ledger Solutions, Inc." ; - export GIT_AUTHOR_EMAIL="contact@tezos.com"' + 'if [ $GIT_COMMIT != "f42e9d12ac75d2876a4cf600d44976b7090d4533" ] ; then + export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" ; + export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" ; + export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE" ; + export GIT_AUTHOR_NAME="Dynamic Ledger Solutions, Inc." ; + export GIT_AUTHOR_EMAIL="contact@tezos.com" ; + fi' HEAD - git tag ${CI_BUILD_REF}_expurged - git push git@gitlab.ocamlpro.com:${CI_PROJECT_PATH}.git