From 4f1023d73c8ce28b66b046122d98ce32e6836d26 Mon Sep 17 00:00:00 2001 From: Dmitriy Safronov Date: Wed, 22 Dec 2021 22:27:58 +0300 Subject: [PATCH] push tags --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7d3c12..8d2f772 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,4 +65,4 @@ sync: script: - echo "Destination url - ${GIT_PUSH_URL}" && git clone "${GIT_PUSH_URL}" /tmp/repo && cd /tmp/repo && git checkout "${GIT_PUSH_BRANCH:-master}" - git remote add upstream "${GIT_PULL_URL}" && git fetch upstream --tags && git pull --ff-only upstream "${GIT_PULL_BRANCH:-master}" - - git push origin "${GIT_PUSH_BRANCH:-master}" + - git push origin "${GIT_PUSH_BRANCH:-master}" && git push origin --tags -- GitLab