Skip to content

Commit 524032b

Browse files
committed
follow #366 discussions current proposal
1 parent 8bd063a commit 524032b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,13 @@ jobs:
3939
git config --global user.name 'github-actions[bot]'
4040
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
4141
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
42-
npx lerna version --conventional-commits --conventional-prerelease --preid beta --create-release github --force-publish=* --yes
4342
44-
npx lerna publish from-git --no-verify-access --yes
43+
# Follow https://github.com/lerna/lerna/issues/2248#issuecomment-527882069 recommendation
44+
npx lerna version --conventional-commits --conventional-prerelease --force-publish=* --yes --no-changelog
45+
git tag -d $(git describe --abbrev=0)
46+
git push
47+
48+
npx lerna publish from-package --no-verify-access --yes
4549
#########################
4650
# Generate documentation
4751
#########################

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
git config --global user.name 'github-actions[bot]'
3737
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
3838
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
39-
npx lerna version --conventional-commits --create-release github --force-publish=* --yes
39+
npx lerna version --conventional-commits --conventional-graduate --create-release github --force-publish=* --yes
4040
npx lerna publish from-git --no-verify-access --yes
4141
#########################
4242
# Generate documentation

0 commit comments

Comments
 (0)