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

Diff for: .github/workflows/on-release-beta.yml

+2-3
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)