Add deployment
This commit is contained in:
parent
75d17eab08
commit
e55b460330
25
circle.yml
25
circle.yml
|
@ -27,9 +27,6 @@ dependencies:
|
|||
- mkdir -p ~/.gradle
|
||||
# Install node modules
|
||||
- yarn
|
||||
- ./node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
|
||||
- cd android && ./gradlew assembleRelease
|
||||
- mv ./android/app/build/outputs/ $CIRCLE_ARTIFACTS
|
||||
|
||||
cache_directories:
|
||||
# Let's speed up the next build by cacheing installed dependencies
|
||||
|
@ -41,3 +38,25 @@ dependencies:
|
|||
- /usr/local/android-sdk-linux/platforms/android-25
|
||||
- /usr/local/android-sdk-linux/build-tools/25.0.0
|
||||
- /usr/local/android-sdk-linux/extras/android/m2repository
|
||||
test:
|
||||
override:
|
||||
- ./node_modules/.bin/react-native bundle --platform android --dev true --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
|
||||
- cd android && ./gradlew assembleRelease
|
||||
- mv ./android/app/build/outputs/ $CIRCLE_ARTIFACTS
|
||||
|
||||
deployment:
|
||||
production: # just a label; label names are completely up to you
|
||||
branch: master
|
||||
commands:
|
||||
- ./gradlew publishApkRelease
|
||||
-Dorg.gradle.project.track=production
|
||||
beta:
|
||||
branch: develop
|
||||
commands:
|
||||
- ./gradlew publishApkRelease
|
||||
-Dorg.gradle.project.track=beta
|
||||
alpha:
|
||||
branch: circle-ci
|
||||
commands:
|
||||
- ./gradlew publishApkRelease
|
||||
-Dorg.gradle.project.track=alpha
|
||||
|
|
|
@ -1400,7 +1400,7 @@
|
|||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "chat.rocket.reactnative-chat.rocket.reactnative";
|
||||
PRODUCT_NAME = RocketChatRN;
|
||||
PROVISIONING_PROFILE = "";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
@ -1433,7 +1433,7 @@
|
|||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "chat.rocket.reactnative-chat.rocket.reactnative";
|
||||
PRODUCT_NAME = RocketChatRN;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>Rocket.Chat.$(PRODUCT_NAME:rfc1034identifier)</string>
|
||||
<string>chat.rocket.reactnative</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
|
@ -17,11 +17,11 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<string>0.1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<string>2</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<key>NSCameraUsageDescription</key>
|
||||
<string>Upload images from camera</string>
|
||||
<key>NSLocationWhenInUseUsageDescription</key>
|
||||
<string/>
|
||||
<string></string>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>Upload images from library</string>
|
||||
<key>UIAppFonts</key>
|
||||
|
|
Loading…
Reference in New Issue