From ee1d741f4bcdff2250b02badf07e6f1e70f998a0 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sat, 1 Feb 2020 03:54:20 +0300 Subject: [PATCH] Try fixing git magic. --- .releaser-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.releaser-ci.yml b/.releaser-ci.yml index e8ba3b5..14b8695 100644 --- a/.releaser-ci.yml +++ b/.releaser-ci.yml @@ -38,10 +38,11 @@ push-to-public: only: - master script: + - git remote rm public || true - git remote add -f public https://prime:${CI_PUSH_TOKEN}@gitlab.com/slon/shad-go.git - git config --global user.email 'prime@yandex-team.ru' - git config --global user.name 'Fedor Korotkiy' - git fetch public - - git branch -D public + - git branch -D public || true - git branch public public/master - testtool export --push