Skip to content

Commit a69f6ce

Browse files
committed
fix tag deletion
1 parent 5a91078 commit a69f6ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/on-release-beta.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ jobs:
4141
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
4242
4343
# Follow https://github.com/lerna/lerna/issues/2248#issuecomment-527882069 recommendation
44-
npx lerna version --conventional-commits --conventional-prerelease --preid rc --force-publish=* --yes --no-changelog
45-
git tag -d $(git describe --abbrev=0)
46-
git push
44+
npx lerna version --conventional-commits --conventional-prerelease --preid beta --force-publish=* --yes --no-changelog
45+
git push --delete origin $(git describe --abbrev=0)
4746
4847
npx lerna publish from-package --no-verify-access --yes
4948
#########################

0 commit comments

Comments
 (0)