Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/publish-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ publish_plugin_ios () {
mkdir -p ./tmp
# publish to Trunk
printf %"s\n" "Attempting to build and publish plugin $PLUGIN_NAME for version $PLUGIN_VERSION to production..."
pod trunk push $PODSPEC_FILE_PATH --allow-warnings > $LOG_OUTPUT 2>&1
if grep -q "passed" $LOG_OUTPUT; then
if pod trunk push $PODSPEC_FILE_PATH --allow-warnings > $LOG_OUTPUT 2>&1; then
printf %"s\n\n" "Success: $PLUGIN_NAME published to CocoaPods Trunk."
else
printf %"s\n\n" "Error publishing $PLUGIN_NAME, check $LOG_OUTPUT for more info!"
Expand Down
Loading