diff --git a/.circleci/config.yml b/.circleci/config.yml index 900ae4cf7101e3ba83a20838ecedac5533bef494..a1448d038c0a34cf268d661a020d79e43d33b830 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -83,6 +83,7 @@ jobs: echo -e "KEYSTORE_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties echo -e "KEY_ALIAS=$KEY_ALIAS" >> ./gradle.properties echo -e "KEY_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties + echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties ./gradlew assembleRelease @@ -148,6 +149,7 @@ jobs: no_output_timeout: 1200 command: | cd ios + agvtool new-version -all $CIRCLE_BUILD_NUM fastlane ios build - store_artifacts: diff --git a/android/app/build.gradle b/android/app/build.gradle index 84a31c924487b45e9c7b0796875c902ef81e179c..986dcfde25952f9c96d299de80446df96671b8ad 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -97,7 +97,7 @@ android { applicationId "chat.rocket.reactnative" minSdkVersion 16 targetSdkVersion 22 - versionCode 2 + versionCode VERSIONCODE as Integer versionName "1.1" ndk { abiFilters "armeabi-v7a", "x86" diff --git a/ios/RocketChatRN-tvOS/Info.plist b/ios/RocketChatRN-tvOS/Info.plist index ecbd496be7dfa32fe773f869de9cf42b545cdcfe..3f282f97220524c33067346ac95a0789f73e011f 100644 --- a/ios/RocketChatRN-tvOS/Info.plist +++ b/ios/RocketChatRN-tvOS/Info.plist @@ -19,7 +19,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1</string> + <string>100</string> <key>LSRequiresIPhoneOS</key> <true/> <key>NSAppTransportSecurity</key> diff --git a/ios/RocketChatRN-tvOSTests/Info.plist b/ios/RocketChatRN-tvOSTests/Info.plist index 886825ccc9bf0da2b9bfb8d8ebf0737db7ca1114..c464f05abf8215c3b13ec8854c34c3b22f23da39 100644 --- a/ios/RocketChatRN-tvOSTests/Info.plist +++ b/ios/RocketChatRN-tvOSTests/Info.plist @@ -19,6 +19,6 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1</string> + <string>100</string> </dict> </plist> diff --git a/ios/RocketChatRN.xcodeproj/project.pbxproj b/ios/RocketChatRN.xcodeproj/project.pbxproj index 8a33f326cf16b60b6a35a76e835bc39f71d420e2..7ec2a0d47185b0d82373e09646999b8e1c1081f5 100644 --- a/ios/RocketChatRN.xcodeproj/project.pbxproj +++ b/ios/RocketChatRN.xcodeproj/project.pbxproj @@ -1380,7 +1380,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 100; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = S6UPZG7ZR3; HEADER_SEARCH_PATHS = ( @@ -1415,7 +1415,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 100; DEVELOPMENT_TEAM = S6UPZG7ZR3; HEADER_SEARCH_PATHS = ( "$(inherited)", diff --git a/ios/RocketChatRN/Info.plist b/ios/RocketChatRN/Info.plist index 49a13c119b73c052db79e1e9e3ebb0573b7a0727..1dbf4f5bfb3279b37e7ec6207b48ae15822d8ab4 100644 --- a/ios/RocketChatRN/Info.plist +++ b/ios/RocketChatRN/Info.plist @@ -21,7 +21,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>4</string> + <string>100</string> <key>ITSAppUsesNonExemptEncryption</key> <false/> <key>LSRequiresIPhoneOS</key> diff --git a/ios/RocketChatRNTests/Info.plist b/ios/RocketChatRNTests/Info.plist index 886825ccc9bf0da2b9bfb8d8ebf0737db7ca1114..c464f05abf8215c3b13ec8854c34c3b22f23da39 100644 --- a/ios/RocketChatRNTests/Info.plist +++ b/ios/RocketChatRNTests/Info.plist @@ -19,6 +19,6 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1</string> + <string>100</string> </dict> </plist>