mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-09 02:31:33 +08:00
17 lines
252 B
Bash
Executable File
17 lines
252 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
pnpm i --frozen-lockfile
|
|
pnpm update:version
|
|
|
|
pnpm build
|
|
|
|
find dist/element-plus/packages -type d -name node_modules -print0 | xargs -0 -I {} rm -rf {}
|
|
|
|
cd dist/element-plus
|
|
npm publish --access public
|
|
cd -
|
|
|
|
echo "Publish completed"
|