mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: 调整amis内网发布脚本
This commit is contained in:
parent
a42572fc91
commit
156b19c5fe
@ -1,16 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
npm run build --workspaces
|
||||
npm run build --workspace=amis-formula --workspace=amis-core --workspace=amis-ui --workspace=amis
|
||||
|
||||
rm -rf npm
|
||||
mkdir npm
|
||||
mkdir -p npm/packages
|
||||
|
||||
# 如果有问题可以注释掉这两行,不知道为啥会导致 cp -rf 挂掉
|
||||
# rm -rf packages/amis/node_modules/.bin
|
||||
# rm -rf packages/amis-ui/node_modules/.bin
|
||||
|
||||
cp -rf packages npm
|
||||
cp -r packages/{amis-formula,amis-core,amis-ui,amis} npm/packages
|
||||
cp package.json npm
|
||||
|
||||
# 记录last commit,便于区分内网版本包之间的差异
|
||||
|
Loading…
Reference in New Issue
Block a user