From c8e7ddc3afa66a69a8da7e72c3e56ceb7230f70c Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Tue, 3 May 2016 08:19:26 -0700 Subject: [PATCH] [0.12.0-rc] Bump version --- CHANGELOG.md | 2 +- package.json | 2 +- scripts/set-version.sh | 7 +++++-- src/.npmignore | 2 ++ src/ios/RealmJS.xcodeproj/project.pbxproj | 12 ++++++------ 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14e56271..99a83e9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -x.x.x Release notes (yyyy-MM-dd) +0.12.0 Release notes (2016-5-3) ============================================================= ### Breaking changes * None diff --git a/package.json b/package.json index 6e92fcf6..dfc0e5f5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "realm", "description": "Realm is a mobile database: an alternative to SQLite and key-value stores", - "version": "0.11.1", + "version": "0.12.0-rc", "license": "Apache-2.0", "homepage": "https://realm.io", "keywords": [ diff --git a/scripts/set-version.sh b/scripts/set-version.sh index f59e70b8..956b14f5 100755 --- a/scripts/set-version.sh +++ b/scripts/set-version.sh @@ -11,6 +11,7 @@ else fi VERSION="$1" +RELEASE_VERSION="${VERSION%%-*}" cd "$(dirname "$0")/.." @@ -26,5 +27,7 @@ if ! $FORCE || [ "$VERSION" != "$(npm --silent run get-version)" ]; then fi # Update CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION in the Xcode project. -cd src/ios -xcrun agvtool new-version "${VERSION%%-*}" +(cd src/ios && xcrun agvtool new-version "$RELEASE_VERSION") + +# Update CHANGELOG +sed -i '' "1s/.*/$RELEASE_VERSION Release notes ($(date '+%Y-%-m-%-d'))/" CHANGELOG.md diff --git a/src/.npmignore b/src/.npmignore index f6ae595a..f41a92bf 100644 --- a/src/.npmignore +++ b/src/.npmignore @@ -1,5 +1,7 @@ *.orig +**/build/ + /object-store/**/*.cmake /object-store/**/*.dylib /object-store/**/*.sh diff --git a/src/ios/RealmJS.xcodeproj/project.pbxproj b/src/ios/RealmJS.xcodeproj/project.pbxproj index 338dbdeb..43935e72 100644 --- a/src/ios/RealmJS.xcodeproj/project.pbxproj +++ b/src/ios/RealmJS.xcodeproj/project.pbxproj @@ -769,7 +769,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 0.11.1; + CURRENT_PROJECT_VERSION = 0.12.0; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -830,7 +830,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 0.11.1; + CURRENT_PROJECT_VERSION = 0.12.0; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -924,7 +924,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 0.11.1; + CURRENT_PROJECT_VERSION = 0.12.0; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; @@ -991,7 +991,7 @@ buildSettings = { DEBUG_INFORMATION_FORMAT = dwarf; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; + DYLIB_CURRENT_VERSION = 0.12.0; EXECUTABLE_PREFIX = lib; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", @@ -1019,7 +1019,7 @@ isa = XCBuildConfiguration; buildSettings = { DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; + DYLIB_CURRENT_VERSION = 0.12.0; EXECUTABLE_PREFIX = lib; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -1043,7 +1043,7 @@ isa = XCBuildConfiguration; buildSettings = { DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; + DYLIB_CURRENT_VERSION = 0.12.0; EXECUTABLE_PREFIX = lib; HEADER_SEARCH_PATHS = ( "$(inherited)",