diff --git a/RxBlocking/Info.plist b/RxBlocking/Info.plist index 8f76d9cd..1a285d1a 100644 Binary files a/RxBlocking/Info.plist and b/RxBlocking/Info.plist differ diff --git a/RxCocoa/Info.plist b/RxCocoa/Info.plist index 8f76d9cd..1a285d1a 100644 Binary files a/RxCocoa/Info.plist and b/RxCocoa/Info.plist differ diff --git a/RxSwift/Info.plist b/RxSwift/Info.plist index 8f76d9cd..1a285d1a 100644 Binary files a/RxSwift/Info.plist and b/RxSwift/Info.plist differ diff --git a/RxTests/Info.plist b/RxTests/Info.plist index 8f76d9cd..1a285d1a 100644 Binary files a/RxTests/Info.plist and b/RxTests/Info.plist differ diff --git a/scripts/all-tests.sh b/scripts/all-tests.sh index 7af35063..5af24cff 100755 --- a/scripts/all-tests.sh +++ b/scripts/all-tests.sh @@ -35,15 +35,17 @@ function ensureNoGitChanges() { function checkPlistVersions() { RXSWIFT_VERSION=`cat RxSwift.podspec | grep -E "s.version\s+=" | cut -d '"' -f 2` - + echo "RxSwift version: ${RXSWIFT_VERSION}" PROJECTS=(RxSwift RxCocoa RxBlocking RxTests) for project in ${PROJECTS[@]} do echo "Checking version for ${project}" PODSPEC_VERSION=`cat $project.podspec | grep -E "s.version\s+=" | cut -d '"' -f 2` ensureVersionEqual "$RXSWIFT_VERSION" "$PODSPEC_VERSION" "${project} version not equal" - if [[ `defaults write "\`pwd\`/${project}/Info.plist" CFBundleShortVersionString $RXSWIFT_VERSION` != $RXSWIFT_VERSION ]]; then - defaults write "`pwd`/${project}/Info.plist" CFBundleShortVersionString $RXSWIFT_VERSION + PLIST_VERSION=`defaults read "\`pwd\`/${project}/Info.plist" CFBundleShortVersionString` + if [[ "${PLIST_VERSION}" != "${RXSWIFT_VERSION}" ]]; then + echo "Invalid version for `pwd`/${project}/Info.plist: ${PLIST_VERSION}" + defaults write "`pwd`/${project}/Info.plist" CFBundleShortVersionString $RXSWIFT_VERSION fi done