-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise.yml
46 lines (46 loc) · 1.18 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: ios/ReactNativeSample.xcodeproj
opts:
is_expand: false
- BITRISE_SCHEME: ReactNativeSample
opts:
is_expand: false
trigger_map:
- pattern: "*"
is_pull_request_allowed: true
workflow: build-react-app
workflows:
build-react-app:
steps:
- script:
title: Install React Native CLI
inputs:
- content: npm install -g react-native-cli
- script:
title: npm install
inputs:
- content: npm install
- script:
title: Bundle app
deps:
brew:
- name: watchman
- name: flow
inputs:
- content: react-native bundle --entry-file ./index.ios.js --platform ios
--bundle-output ios/main.jsbundle
- xcode-archive:
title: 'Xcode: Create Archive'
inputs:
- output_dir: "${BITRISE_DEPLOY_DIR}"
outputs:
- BITRISE_IPA_PATH:
opts:
title: The created .ipa file's path
- BITRISE_DSYM_PATH:
opts:
title: The created .dSYM.zip file's path