forked from KirillAshikhmin/steps-set-ios-version
-
Notifications
You must be signed in to change notification settings - Fork 0
/
step.yml
73 lines (71 loc) · 2.91 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
#
# 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: |-
Set iOS Info.plist - Bundle Version and Bundle Short Version String
summary: |-
Sets the Bundle Version and Bundle Short Version String to the specified value, in the target Info.plist file for the next build.
description: |-
Sets the Bundle Version and Bundle Short Version String to the specified value, in the target Info.plist file for the next build.
website: https://github.com/BOOMik/steps-set-ios-version
source_code_url: https://github.com/BOOMik/steps-set-ios-version
support_url: https://github.com/BOOMik/steps-set-ios-version/issues
source:
git: https://github.com/BOOMik/steps-set-ios-version.git
host_os_tags:
- "osx-10.10"
project_type_tags:
- ios
# 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:
- utility
run_if: ".IsCI"
inputs:
- info_plist_file:
opts:
title: "Info.plist file path"
summary: ""
description: |
Path to the given iOS project's Info.plist file.
is_required: true
- bundle_version:
opts:
title: "Bundle Version to set"
summary: "Set the :CFBundleVersion to a specified value. Should be string or empty. If the field is empty, the current version will be used."
description: |
CFBundleVersion e.g.: 42
is_required: false
- bundle_version_short:
opts:
title: "Bundle Short Version String to set"
summary: "Set the :CFBundleShortVersionString to a specified value. Should be string or empty. If the field is empty, the current short version will be used."
description: |
CFBundleShortVersionString e.g.: 1.0.0
is_required: false
- version_short_offset:
opts:
title: "Bundle Version Offset"
description: |
This offset will be added to `Version` input's value. If this set - Offset and Version must be integer!.
- append_version: "false"
opts:
title: "Append Version"
summary: "It appends to the current CFBundleShortVersionString. e.g. Current version in Info.plist is '1.0.'. After step will be '1.0.YOU_ENTERED_VERSION NAME'"
is_required: true
value_options:
- "true"
- "false"
outputs:
- APP_VERSION:
opts:
title: Version (CFBundleShortVersionString from Info.plist)
- APP_BUILD:
opts:
title: Build (CFBundleVersion from Info.plist)