-
Notifications
You must be signed in to change notification settings - Fork 6
/
step.yml
46 lines (45 loc) · 1.47 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
title: "Android Manifest Info"
summary: Extracts Android manifest attributes to environment variables.
description: |-
Read Android manifest attriubtes from `AndroidManifest.xml` file,
then export that data to environment variables prefixed with **AMI_**.
After this you can use these environment variables in other steps.
website: https://github.com/tomcurran/bitrise-step-android-manifest-info
source_code_url: https://github.com/tomcurran/bitrise-step-android-manifest-info
support_url: https://github.com/tomcurran/bitrise-step-android-manifest-info/issues
host_os_tags:
- osx-10.10
project_type_tags:
- android
- xamarin
- cordova
- ionic
- react-native
type_tags:
- artifact-info
is_always_run: false
is_skippable: false
inputs:
- manifest_file: "$BITRISE_ANDROID_MANIFEST_PATH"
opts:
title: "AndroidManifest.xml file path"
summary: ""
description: |
Path to the given project's AndroidManifest.xml file.
is_required: true
outputs:
- AMI_VERSION_CODE:
opts:
title: Version Code (versionCode from AndroidManifest.xml)
- AMI_VERSION_NAME:
opts:
title: Version Name (versionName from AndroidManifest.xml)
- AMI_PACKAGE_NAME:
opts:
title: Package Name (package from AndroidManifest.xml)
- AMI_MIN_SDK_VERSION:
opts:
title: Minimum SDK Version (minSdkVersion from AndroidManifest.xml)
- AMI_TARGET_SDK_VERSION:
opts:
title: Target SDK Version (targetSdkVersion from AndroidManifest.xml)