From 8b19ff9aefb11dd32123437c0b674cc5cea6287c Mon Sep 17 00:00:00 2001 From: Evan Maloney Date: Tue, 30 Jun 2015 22:48:27 -0400 Subject: [PATCH] updated releaseMe.sh script to builds all relevant targets --- BuildControl/bin/releaseMe.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/BuildControl/bin/releaseMe.sh b/BuildControl/bin/releaseMe.sh index 7c94cadb..05949e9c 100755 --- a/BuildControl/bin/releaseMe.sh +++ b/BuildControl/bin/releaseMe.sh @@ -440,7 +440,15 @@ XCODEBUILD=/usr/bin/xcodebuild if [[ ! -x "$XCODEBUILD" ]]; then exitWithErrorSuggestHelp "Expected to find xcodebuild at path $XCODEBUILD" fi -executeCommand "$XCODEBUILD -project ${REPO_NAME}.xcodeproj -scheme ${REPO_NAME} -configuration Release clean build" + +# +# build each scheme to try +# +xcodebuild -list | grep "\s${REPO_NAME}" | grep -v Tests | sort | uniq | sed "s/^[ \t]*//" | while read SCHEME +do + updateStatus "Building $SCHEME..." + executeCommand "$XCODEBUILD -project ${REPO_NAME}.xcodeproj -scheme \"$SCHEME\" -configuration Release clean build" +done updateStatus "Adjusting version numbers" executeCommand "$PLIST_BUDDY \"$FRAMEWORK_PLIST_PATH\" -c \"Set :CFBundleShortVersionString $VERSION\""