-
Notifications
You must be signed in to change notification settings - Fork 7
/
step.yml
139 lines (129 loc) · 4.51 KB
/
step.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#
# A couple of useful guides & docs:
#
# - Main Bitrise CLI docs: https://github.com/bitrise-io/bitrise/tree/master/_docs
# - Step Development Guideline: https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
# - Bitrise.yml format spec: https://github.com/bitrise-io/bitrise/blob/master/_docs/bitrise-yml-format-spec.md
# - Bitrise docs: http://devcenter.bitrise.io/
# - Bitrise CLI guides: http://devcenter.bitrise.io/bitrise-cli/
title: |-
Bundle Universal Apk
summary: |
Generates an universal apk from an app bundle
description: |
Runs a bundletool that gets an app bundle path and generates an universal apk that it can be upload to alternative app stores or test platforms.
website: https://github.com/ch4vi/bitrise-step-bundle-universal-apk
source_code_url: https://github.com/ch4vi/bitrise-step-bundle-universal-apk
support_url: https://github.com/ch4vi/bitrise-step-bundle-universal-apk/issues
host_os_tags:
- osx-10.10
- ubuntu-16.04
# If this step should be available only for certain project types
# just uncomment this `project_type_tags` section and include all the
# project types supported by the step. If the step can be used for all
# project types then you can just remove this section.
# If no `project_type_tags` specified (or specified as an empty array)
# that means the step can be used for any project type.
# You can find more information about project type tags in the Step Development Guideline:
# https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
#
project_type_tags:
- android
# - ios
# - macos
# - xamarin
# - react-native
# - cordova
# - ionic
# Type tags are used for categorizing steps, for easier step discovery in Step Libraries.
# You can find more information about type tags in the Step Development Guideline:
# https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
type_tags:
- build
is_requires_admin_user: true
is_always_run: false
is_skippable: false
run_if: ""
deps:
brew:
- name: unzip
- name: wget
- name: curl
apt_get:
- name: unzip
- name: wget
- name: curl
toolkit:
bash:
entry_file: step.sh
inputs:
- aab_path: "$BITRISE_AAB_PATH"
opts:
title: "Build artifact path."
summary: "`Android App Bundle (.aab)`"
description: |-
Path(s) to the build artifact file `.aab`. You can build the bundle running `:bundleRelease` gradle task
Format examples:
- `/path/to/my/app.aab`
is_required: true
- apk_name: "$BITRISE_APK_OUTPUT_NAME"
opts:
title: "Universal apk name"
summary: "`Name of the resulting apk`"
description: |-
The name must end with .apk
Format examples:
- `apk_name.apk` or `apk_name`
is_required: false
- apk_output_dir: "$BITRISE_APK_OUTPUT_DIR"
opts:
title: "APK's output directory"
summary: "`Path where the apk's will be moved after`"
description: |-
If no Apk otuput dir is provided, the apk's will be at $BITRISE_APK_DIR
Format examples:
- `$BITRISE_DEPLOY_DIR`
is_required: false
- keystore_url: $BITRISEIO_ANDROID_KEYSTORE_URL
opts:
title: "Keystore url"
summary: ""
description: |-
For remote keystores you can provide any download location (ex: https://URL/TO/keystore.jks).
For local keystores provide file path url. (ex: file://PATH/TO/keystore.jks).
is_required: true
is_sensitive: true
- keystore_password: $BITRISEIO_ANDROID_KEYSTORE_PASSWORD
opts:
title: "Keystore password"
summary: ""
description: ""
is_required: true
is_sensitive: true
- keystore_alias: $BITRISEIO_ANDROID_KEYSTORE_ALIAS
opts:
title: "Keystore alias"
summary: ""
description: ""
is_required: true
is_sensitive: true
- keystore_alias_password: $BITRISEIO_ANDROID_KEYSTORE_ALIAS_PASSWORD
opts:
title: "Keystore alias password"
summary: ""
description: ""
is_required: true
is_sensitive: true
outputs:
- BITRISE_APK_PATH:
opts:
title: "Universal apk path"
summary: Path to the universal apk signed with the given keystore
description: |
You can upload this apk to an alternative app stores or your test platform
- BITRISE_APK_DIR:
opts:
title: "Apk direcotry"
summary: Path to directory where all the apk's are stored after the step.
description: |
You can upload this directory to an alternative app stores or your test platform