File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -5,40 +5,40 @@ echo nexus_password: ${nexus_password}
55if [ $TRAVIS_TAG ] && [ " $TRAVIS_TAG " x != " " x ]; then
66
77 if [ ` echo $TRAVIS_TAG | grep " ^plugin_[0-9]\+\.[0-9]\+\.[0-9]\+_final$" ` ] || [ ` echo $TRAVIS_TAG | grep " ^plugin_[0-9]\+\.[0-9]\+\.[0-9]\+_snapshot$" ` ]; then
8-
8+
99 # nexus
1010 echo ' '
1111 echo ' [is a tag] start packing'
1212 npm config set registry https://registry.npm.taobao.org
13-
13+
1414 npm install
15- npm run build -- --tag-name=$TRAVIS_TAG
15+ npm run build_all -- --tag-name=$TRAVIS_TAG
1616 ls
1717 cd ../
1818 ls
19-
20- zip -q -r kefu-webim-${TRAVIS_TAG} .zip kefu-webim -x " kefu-webim/node_modules/*" -x kefu-webim/appPageCached.js
19+
20+ zip -q -r kefu-webim-${TRAVIS_TAG} .zip kefu-webim -x " kefu-webim/node_modules/*" -x kefu-webim/appPageCached.js
2121
2222 if [ ` echo $TRAVIS_TAG | grep " ^plugin_[0-9]\+\.[0-9]\+\.[0-9]\+_final$" ` ]; then
2323
2424 curl -v -F r=releases -F hasPom=false -F e=zip -F g=com.easemob.kefu.webim.product -F a=kefu-webim -F v=${TRAVIS_TAG} -F p=zip -F file=@${TRAVIS_BUILD_DIR} /../kefu-webim-${TRAVIS_TAG} .zip -u ${nexus_user} :${nexus_password} https://hk.nexus.op.easemob.com/nexus/service/local/artifact/maven/content
25-
25+
2626 else
27-
28- curl -v -F r=releases -F hasPom=false -F e=zip -F g=com.easemob.kefu.webim.development -F a=kefu-webim -F v=${TRAVIS_TAG} -F p=zip -F file=@${TRAVIS_BUILD_DIR} /../kefu-webim-${TRAVIS_TAG} .zip -u ${nexus_user} :${nexus_password} https://hk.nexus.op.easemob.com/nexus/service/local/artifact/maven/content
27+
28+ curl -v -F r=releases -F hasPom=false -F e=zip -F g=com.easemob.kefu.webim.development -F a=kefu-webim -F v=${TRAVIS_TAG} -F p=zip -F file=@${TRAVIS_BUILD_DIR} /../kefu-webim-${TRAVIS_TAG} .zip -u ${nexus_user} :${nexus_password} https://hk.nexus.op.easemob.com/nexus/service/local/artifact/maven/content
2929
3030 fi
31-
31+
3232 else
3333
3434 echo ' '
3535 echo ' The format of the tag is not correct.'
3636
3737 fi
3838
39- else
39+ else
4040
4141echo ' '
4242echo ' [not a tag] exit packing.'
4343
44- fi
44+ fi
You can’t perform that action at this time.
0 commit comments