Skip to content

Commit

Permalink
updated releaseMe.sh script to builds all relevant targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Maloney committed Jul 1, 2015
1 parent c64127b commit 8b19ff9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion BuildControl/bin/releaseMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
Expand Down

0 comments on commit 8b19ff9

Please sign in to comment.