fastlane-craft 1.5.2 → 1.5.3

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: 278c20bbed90b16e617a43afede6b055e1f52844af78d3d244f651db1c161a41
4
- data.tar.gz: dc8d0a0f0c247b98c5e7ee7ed7b6cda10a0e3c243dca9e488a7aab04b2509dbc
3
+ metadata.gz: af83c5009022f0ea6d71c461147f7237b7e508ffc356a6fd73a79ba1c52106fa
4
+ data.tar.gz: 37e443e5275e9004b5413f0a4f38f6d13dbcdf1a91b09486d4792e250241bd41
5
5
  SHA512:
6
- metadata.gz: e513ebef28227be367dc4567bf58062f04411ff4d5aaa809f957d81658bddf4f1274e522963790fea181c6c17fff596b86a86fba98a4ebb5a4b25f6583d87176
7
- data.tar.gz: e6bdd879b91134d5a05a3d91123997d21b9218163eec5e9ae3d0e407d4dd6ca304ce1bd7c702d5c305085062eee4478b2601f4f2ed14a29bd22f953f3f71046c
6
+ metadata.gz: b63744dc924a13ba5deac43665c5d2d68d51c9e824fe2f79d70a6033db27e808249f2a0cf1fcf3c8dfeb211d5f1bdcb2782d701eba9ce7ac9dc8929b3270fbce
7
+ data.tar.gz: bdebb841815f94db7ff7006991e531653505c15d45b7a223fd926e79cd8975f5827c1ae4a03e685355ce2ce3cbd09654f51c744beefc469eaa1e22361aea4f40
@@ -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,6 +20,7 @@ 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
@@ -27,7 +28,8 @@ module FastlaneCraft
27
28
  archive
28
29
  upload_to_tf
29
30
  update_env
30
- @project_controller.bump_build_version_patch
31
+
32
+ build_version.nil? @project_controller.bump_build_version_patch : @project_controller.set_build_version(build_version)
31
33
  push_version_bump
32
34
 
33
35
  remove_existing_git_tag
@@ -1,3 +1,3 @@
1
1
  module FastlaneCraft
2
- VERSION = '1.5.2'.freeze
2
+ VERSION = '1.5.3'.freeze
3
3
  end
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.2
4
+ version: 1.5.3
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-01-03 00:00:00.000000000 Z
12
+ date: 2020-07-31 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: []