fastlane-craft 1.5.2 → 1.5.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40986f4dffebe0afd73b10077667851ce9f38bbdf25f8e099037199d17fe6479
|
4
|
+
data.tar.gz: f147a588654ab2a378a27bc579cd0b61af776cb844e85e37ac527ce9e8f329d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a2076dbf46c9103c24a6a99e0cfe2ae06ead10454faddb103102e4ab80242a5e5d3ecd7d5c70e1cbe5e1b267894b6f5888b03bae4ea234d9fc1e5a02757a3d3
|
7
|
+
data.tar.gz: e2939f0f8fcf728708f53cca428fab376f90ddfceac63cc0bce583941b26a059c246e8d233440e3c1fd2138fa3f8c7833d848a07e1543abfa60b27fd5e6a557c
|
@@ -9,6 +9,7 @@ module Fastlane
|
|
9
9
|
params[:project],
|
10
10
|
params[:branch],
|
11
11
|
params[:version],
|
12
|
+
params[:build_version],
|
12
13
|
params[:target_suffix]
|
13
14
|
).release
|
14
15
|
end
|
@@ -58,6 +59,11 @@ module Fastlane
|
|
58
59
|
description: 'app version (like 1.1.0)',
|
59
60
|
optional: true
|
60
61
|
),
|
62
|
+
FastlaneCore::ConfigItem.new(
|
63
|
+
key: :build_version,
|
64
|
+
description: 'build version (like 23)',
|
65
|
+
optional: true
|
66
|
+
),
|
61
67
|
FastlaneCore::ConfigItem.new(
|
62
68
|
key: :target_suffix,
|
63
69
|
description: 'Specific target suffix',
|
@@ -76,6 +82,7 @@ module Fastlane
|
|
76
82
|
project: "/path/to/xcodeproj",
|
77
83
|
branch: "master",
|
78
84
|
version: "2.3.0",
|
85
|
+
build_version: "23",
|
79
86
|
target_suffix: "_sfx"
|
80
87
|
)'
|
81
88
|
]
|
@@ -12,7 +12,7 @@ module FastlaneCraft
|
|
12
12
|
include FastlaneCore
|
13
13
|
include Gem
|
14
14
|
|
15
|
-
def initialize(schemes, project, branch, version = nil, target_suffix = nil)
|
15
|
+
def initialize(schemes, project, branch, version = nil, build_version = nil, target_suffix = nil)
|
16
16
|
raise 'Invalid Version' if version && !version_valid?(version)
|
17
17
|
|
18
18
|
@scheme = schemes.first
|
@@ -20,14 +20,15 @@ module FastlaneCraft
|
|
20
20
|
@target_suffix = target_suffix
|
21
21
|
@project_controller = ProjectController.new(project, schemes)
|
22
22
|
@version = version.nil? ? @project_controller.version : Version.new(version)
|
23
|
+
@build_version = build_version
|
23
24
|
end
|
24
25
|
|
25
26
|
def release
|
26
27
|
bump_version
|
27
28
|
archive
|
28
29
|
upload_to_tf
|
30
|
+
@build_version.nil? ? @project_controller.bump_build_version_patch : @project_controller.set_build_version(@build_version)
|
29
31
|
update_env
|
30
|
-
@project_controller.bump_build_version_patch
|
31
32
|
push_version_bump
|
32
33
|
|
33
34
|
remove_existing_git_tag
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-craft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sroik
|
8
8
|
- elfenlaid
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk-s3
|
@@ -156,7 +156,7 @@ homepage: https://github.com/app-craft/fastlane-craft.git
|
|
156
156
|
licenses:
|
157
157
|
- MIT
|
158
158
|
metadata: {}
|
159
|
-
post_install_message:
|
159
|
+
post_install_message:
|
160
160
|
rdoc_options: []
|
161
161
|
require_paths:
|
162
162
|
- lib
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
174
|
rubygems_version: 3.0.6
|
175
|
-
signing_key:
|
175
|
+
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: fastlane craft summary
|
178
178
|
test_files: []
|