From 82e5059c84c78655e7e9e074db55e425afdcde86 Mon Sep 17 00:00:00 2001 From: XiaochaoGONG Date: Mon, 12 Nov 2018 16:47:54 +0800 Subject: [PATCH] add push tags --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d4e45e..6bd8011 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); 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); git push --tags; fi;' $GITHUB_PUSH_REFS)