fix: fix tag push in publish step

This commit is contained in:
Nick Fields
2020-06-17 13:18:10 -04:00
parent 8eea3dc8c5
commit 21d303ab46

View File

@@ -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 }}