From 21d303ab4688bf9199e46cc6166dd36f4467d691 Mon Sep 17 00:00:00 2001 From: Nick Fields Date: Wed, 17 Jun 2020 13:18:10 -0400 Subject: [PATCH] fix: fix tag push in publish step --- .github/workflows/ci_cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2513d0b..233a28c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -67,7 +67,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Tag - run: git tag -f v${MAJOR_VERSION} && git push origin v${MAJOR_VERSION} + run: git tag -f v${MAJOR_VERSION} && git push -f origin v${MAJOR_VERSION} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MAJOR_VERSION: ${{ steps.semantic.outputs.new_release_major_version }}