From 03febfac239ce938c26c416a6ae3c1fba9e7a8c6 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 12 Mar 2024 18:07:19 +0100 Subject: [PATCH] chore(ci): Re enable pod validation failures (#7335) --- scripts/native-podspec.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/native-podspec.sh b/scripts/native-podspec.sh index 509479a10..fd822d12a 100644 --- a/scripts/native-podspec.sh +++ b/scripts/native-podspec.sh @@ -1,13 +1,13 @@ #!/usr/bin/env sh - -export NATIVE_PUBLISH=true +-set -eo pipefail case $1 in lint) - pod spec lint ios/CapacitorCordova.podspec --allow-warnings - pod spec lint ios/Capacitor.podspec --allow-warnings;; + pod lib lint ios/CapacitorCordova.podspec --allow-warnings + pod lib lint ios/Capacitor.podspec --allow-warnings;; publish) + export NATIVE_PUBLISH=true pod trunk push ios/CapacitorCordova.podspec --allow-warnings pod trunk push ios/Capacitor.podspec --allow-warnings;;