File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ jobs:
5454 run : yarn workspace @standardnotes/community-cdn compile
5555
5656 - name : Release
57+ if : ${{ env.FORCE_PUBLISH != 'true' }}
5758 run : yarn run release
5859
59- - name : Force Publish
60+ - name : Force Release
6061 if : ${{ env.FORCE_PUBLISH == 'true' }}
61- run : yarn run publish :force
62+ run : yarn run release :force
6263
6364 - name : Publish
64- if : ${{ env.FORCE_PUBLISH != 'true' }}
6565 run : yarn run publish
Original file line number Diff line number Diff line change 1212 " cdn"
1313 ]
1414 },
15- "scripts" : {
15+ "scripts" : {
1616 "build" : " yarn workspaces foreach --verbose --interlaced -pt --topological-dev --jobs 10 run build" ,
1717 "clean" : " lerna run clean" ,
1818 "release" : " lerna version --conventional-commits --yes -m \" chore(release): publish\" " ,
19- "publish " : " lerna publish from-git --yes --no-verify-access --loglevel verbose --registry https://registry.npmjs.org " ,
20- "publish:force " : " lerna publish from-git --yes --no-verify-access --loglevel verbose --registry https://registry.npmjs.org --ignore sn-excalidraw --force-publish " ,
19+ "release:force " : " lerna version --conventional-commits --yes -m \" chore(release): publish \" --force-publish \" * \" " ,
20+ "publish" : " lerna publish from-git --yes --no-verify-access --loglevel verbose --registry https://registry.npmjs.org --ignore sn-excalidraw" ,
2121 "version" : " yarn install --no-immutable && git add yarn.lock" ,
2222 "postversion" : " ./scripts/push-tags-one-by-one.sh" ,
2323 "dev:reset" : " find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock && yarn install" ,
You can’t perform that action at this time.
0 commit comments