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 committed Apr 18, 2023
1 parent c1361ae commit 995eccf
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 995eccf

Please sign in to comment.