Skip to content

Commit 6fe6775

Browse files
Merge pull request #31 from InVisionApp/develop
patch: trying to force update v<major> tags
2 parents f1e3381 + ee0ac7d commit 6fe6775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
- name: Update major version tag (e.g., v1)
4343
if: github.ref == 'refs/heads/master'
44-
run: git tag -f v${MAJOR_VERSION} && git push origin v${MAJOR_VERSION}
44+
run: git tag -f v${MAJOR_VERSION} && git push --force origin refs/tags/v${MAJOR_VERSION}:refs/tags/v${MAJOR_VERSION}
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
MAJOR_VERSION: ${{ steps.semantic.outputs.new_release_major_version }}

0 commit comments

Comments
 (0)