chore(release): fix error on re-targeting v2 tag on release

This commit is contained in:
Naoki Oketani
2023-01-02 11:37:27 +09:00
parent a4859997a8
commit 3e9f7e4b24

View File

@@ -17,7 +17,6 @@ jobs:
- name: git tag
run: |
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
git tag -d v2
git push origin -d v2
git tag v2 ${GITHUB_SHA}
git push origin v2