Skip to content

Commit 37014e8

Browse files
authored
Fix CI publish for beta and stable (#123)
* Fix CI publish for beta and stable * Add test branch for CI test * Add force publish * Remove test params
1 parent ac1c9ce commit 37014e8

4 files changed

Lines changed: 769 additions & 214 deletions

File tree

.github/workflows/publish.beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
run: yarn lerna run build
3131

3232
- name: "Publish"
33-
run: yarn lerna publish --canary --preid beta --dist-tag beta --yes --force-publish
33+
run: yarn lerna publish --canary --preid beta --dist-tag beta --tag-version-prefix beta --yes

.github/workflows/publish.stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
run: yarn lerna run build
3737

3838
- name: "Publish"
39-
run: yarn lerna publish ${{ github.ref_name }} --force-git-tag --yes --force-publish
39+
run: yarn lerna publish v${{ github.ref_name }} --force-git-tag --yes --tag-version-prefix=''

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"packages/*"
1414
],
1515
"devDependencies": {
16-
"lerna": "^6.5.1"
16+
"lerna": "^6.6.1"
1717
}
1818
}

0 commit comments

Comments
 (0)