-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #122 with Bitrise YML updates and youtube video
- Loading branch information
1 parent
ce316bc
commit 5d55d26
Showing
4 changed files
with
49 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,75 +2,60 @@ | |
format_version: 1.1.0 | ||
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | ||
trigger_map: | ||
- pattern: "*" | ||
- pattern: master | ||
is_pull_request_allowed: true | ||
workflow: primary | ||
workflows: | ||
primary: | ||
steps: | ||
- [email protected].0: | ||
- [email protected].1: | ||
title: Activate App SSH key | ||
inputs: | ||
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa" | ||
- [email protected]: {} | ||
- [email protected]: | ||
title: install node & npm | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - | ||
apt-get install -y nodejs | ||
- [email protected]: | ||
- [email protected]: {} | ||
- [email protected]: | ||
title: npm install | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
npm install | ||
- [email protected].0: | ||
- [email protected].2: | ||
title: npm test | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
npm test | ||
- [email protected]: | ||
title: npm install react-native -g | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
npm install -g react-native-cli | ||
- [email protected]: | ||
- [email protected]: {} | ||
- [email protected]: | ||
title: create config | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
touch src/lib/config.js | ||
echo "module.exports={ PARSE: {APP_ID: '$PARSE_APP_ID' ,REST_API_KEY: '$PARSE_REST_API_KEY', SESSION_TOKEN_KEY: 'SESSION_TOKEN_KEY'}}" >> src/lib/config.js | ||
- [email protected]: | ||
title: bundle-android | ||
- [email protected]: | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
react-native bundle --entry-file ./index.android.js --platform android --bundle-output android/app/src/main/assets/index.android.bundle | ||
- [email protected]: | ||
- platform: android | ||
- entry_file: "./index.android.js" | ||
- out: android/app/src/main/assets/index.android.bundle | ||
- [email protected]: | ||
title: gradlew | ||
inputs: | ||
- content: "#!/bin/bash\n\ncd android \n./gradlew assembleRelease" | ||
opts: | ||
is_expand: true | ||
- sign-apk@0.9.4: | ||
- sign-apk@1.0.1: | ||
inputs: | ||
- apk_path: "/bitrise/src/android/app/build/outputs/apk/app-release-unsigned.apk" | ||
- [email protected].0: | ||
- [email protected].2: | ||
title: cp apk | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
cp $BITRISE_SIGNED_APK_PATH $BITRISE_DEPLOY_DIR/signed-app-release.apk | ||
- [email protected].2: | ||
- [email protected].4: | ||
is_always_run: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,54 +10,48 @@ app: | |
opts: | ||
is_expand: false | ||
trigger_map: | ||
- pattern: "*" | ||
- pattern: master | ||
is_pull_request_allowed: true | ||
workflow: primary | ||
workflows: | ||
primary: | ||
steps: | ||
- [email protected].0: | ||
- [email protected].1: | ||
title: Activate App SSH key | ||
inputs: | ||
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa" | ||
- [email protected]: {} | ||
- [email protected]: | ||
- [email protected]: | ||
inputs: | ||
- clone_depth: '1' | ||
- [email protected]: | ||
title: npm install | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
npm install | ||
- [email protected].0: | ||
- [email protected].2: | ||
title: npm test | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
npm test | ||
- [email protected]: | ||
title: npm install react-native -g | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
npm install -g react-native-cli | ||
- [email protected]: | ||
- [email protected]: {} | ||
- [email protected]: | ||
title: create config | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
touch src/lib/config.js | ||
echo "module.exports={ PARSE: {APP_ID: '$PARSE_APP_ID' ,REST_API_KEY: '$PARSE_REST_API_KEY', SESSION_TOKEN_KEY: 'SESSION_TOKEN_KEY'}}" >> src/lib/config.js | ||
- [email protected]: | ||
title: bundle-ios | ||
- [email protected]: | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
react-native bundle --entry-file ./index.ios.js --platform ios --bundle-output ios/main.jsbundle | ||
- [email protected]: {} | ||
- [email protected]: | ||
- entry_file: "./index.ios.js" | ||
- out: ios/main.jsbundle | ||
- [email protected]: {} | ||
- [email protected]: | ||
inputs: | ||
- lane: ios beta | ||
- [email protected].0: {} | ||
- [email protected].4: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters