chore(release): fix error on re-targeting v2 tag on release
This commit is contained in:
1
.github/workflows/git-tag.yml
vendored
1
.github/workflows/git-tag.yml
vendored
@@ -17,7 +17,6 @@ jobs:
|
|||||||
- name: git tag
|
- name: git tag
|
||||||
run: |
|
run: |
|
||||||
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
|
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
|
||||||
git tag -d v2
|
|
||||||
git push origin -d v2
|
git push origin -d v2
|
||||||
git tag v2 ${GITHUB_SHA}
|
git tag v2 ${GITHUB_SHA}
|
||||||
git push origin v2
|
git push origin v2
|
||||||
|
|||||||
Reference in New Issue
Block a user