update publish.sh

This commit is contained in:
pengfei.zhou 2020-01-06 13:22:06 +08:00 committed by osborn
parent dac37cd899
commit b1ed4f7bed

View File

@ -36,7 +36,13 @@ git tag $CURRENT_VERSION
echo "Push Changes"
git push --tags
echo "Publish JS"
cd $CURRENT_DIR/doric-js && npm publish
echo "Publish Web"
cd $CURRENT_DIR/doric-web && npm publish
# cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll
echo "Publish Android"
cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll
echo "Publish iOS"
cd $CURRENT_DIR && pod trunk push --allow-warnings