Skip to content

Commit dc2b4b7

Browse files
committed
Only build for Mac and iOS in release script
Due to Quick#422
1 parent a005b7d commit dc2b4b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ git fetch origin || die "Failed to fetch origin"
141141
git diff --quiet HEAD "origin/$REMOTE_BRANCH" || die "HEAD is not aligned to origin/$REMOTE_BRANCH. Cannot update version safely"
142142

143143
echo "-> Building Carthage release"
144-
$CARTHAGE build --no-skip-current || die "Failed to build framework for carthage"
144+
$CARTHAGE build --no-skip-current --platform Mac,iOS || die "Failed to build framework for carthage"
145145

146146
echo "-> Setting podspec version"
147147
cat "$PODSPEC" | grep 's.version' | grep -q "\"$VERSION\""
@@ -178,7 +178,7 @@ fi
178178

179179
echo
180180
echo "---------------- Released as $VERSION_TAG ----------------"
181-
echo
181+
echo
182182
echo "Archiving carthage release..."
183183

184184
$CARTHAGE archive "$CARTHAGE_FRAMEWORK_NAME" || die "Failed to archive framework for carthage"

0 commit comments

Comments
 (0)