update script
This commit is contained in:
parent
cdddec9c02
commit
be6465f9a8
14
publish.sh
14
publish.sh
@ -35,15 +35,6 @@ echo $CURRENT_VERSION > $CURRENT_DIR/doric-cli/target/version
|
|||||||
cd $CURRENT_DIR/
|
cd $CURRENT_DIR/
|
||||||
|
|
||||||
echo "Commit changes"
|
echo "Commit changes"
|
||||||
git add .
|
|
||||||
|
|
||||||
git commit -m "Publish version $CURRENT_VERSION"
|
|
||||||
|
|
||||||
git tag $CURRENT_VERSION
|
|
||||||
|
|
||||||
echo "Push Changes"
|
|
||||||
|
|
||||||
git push --tags
|
|
||||||
|
|
||||||
echo "Publish JS"
|
echo "Publish JS"
|
||||||
cd $CURRENT_DIR/doric-js && npm publish
|
cd $CURRENT_DIR/doric-js && npm publish
|
||||||
@ -53,8 +44,3 @@ echo "Publish Android"
|
|||||||
cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll
|
cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll
|
||||||
echo "Publish iOS"
|
echo "Publish iOS"
|
||||||
cd $CURRENT_DIR && pod trunk push DoricCore.podspec --allow-warnings && pod trunk push DoricDevkit.podspec --allow-warnings
|
cd $CURRENT_DIR && pod trunk push DoricCore.podspec --allow-warnings && pod trunk push DoricDevkit.podspec --allow-warnings
|
||||||
|
|
||||||
echo "Publish Android Legacy"
|
|
||||||
|
|
||||||
cd $CURRENT_DIR && git checkout -b legacy/$CURRENT_VERSION && sh publish-android-legacy.sh
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user