From fff2efbdc3a6716038177dedd5dc8b62c080c1f9 Mon Sep 17 00:00:00 2001 From: XiaochaoGONG Date: Tue, 13 Nov 2018 10:10:36 +0800 Subject: [PATCH] remove push tags --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bd8011..0d4e45e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,4 +125,4 @@ push_to_github: - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - git remote remove github &>/dev/null || true - git remote add github git@github.com:espressif/esp-who.git - - eval $(git for-each-ref --shell bash --format 'if [ $CI_BUILD_REF == %(objectname) ]; then git checkout -B %(refname:strip=3); git push --follow-tags github %(refname:strip=3); git push --tags; fi;' $GITHUB_PUSH_REFS) + - eval $(git for-each-ref --shell bash --format 'if [ $CI_BUILD_REF == %(objectname) ]; then git checkout -B %(refname:strip=3); git push --follow-tags github %(refname:strip=3); fi;' $GITHUB_PUSH_REFS)