Skip to content

Commit

Permalink
*: update release.sh to use the clean script defined in package.json
Browse files Browse the repository at this point in the history
The clean command will also remove other directories as well.
  • Loading branch information
tilacog authored and fordN committed Dec 5, 2023
1 parent d8d4ed7 commit 0c995ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ done

# Publish to NPM
# export NODE_ENV=production
rm -rf node_modules packages/*/node_modules
yarn clean # clean all packages before releasing
yarn --registry https://registry.npmjs.org/
yarn config set registry https://registry.npmjs.org/
lerna publish "$VERSION"

0 comments on commit 0c995ad

Please sign in to comment.