fastlane-craft 1.5.3 → 1.5.8

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: af83c5009022f0ea6d71c461147f7237b7e508ffc356a6fd73a79ba1c52106fa
4
- data.tar.gz: 37e443e5275e9004b5413f0a4f38f6d13dbcdf1a91b09486d4792e250241bd41
3
+ metadata.gz: b32e460a32caf9a837c5a7fa926ee8e0ff3c9ff914bfa2f96eae8723b6916f4e
4
+ data.tar.gz: 2761a6f149c32eb2a6abc2723c76e731932f5fc9aa26c7b9873b8bac32a34ae9
5
5
  SHA512:
6
- metadata.gz: b63744dc924a13ba5deac43665c5d2d68d51c9e824fe2f79d70a6033db27e808249f2a0cf1fcf3c8dfeb211d5f1bdcb2782d701eba9ce7ac9dc8929b3270fbce
7
- data.tar.gz: bdebb841815f94db7ff7006991e531653505c15d45b7a223fd926e79cd8975f5827c1ae4a03e685355ce2ce3cbd09654f51c744beefc469eaa1e22361aea4f40
6
+ metadata.gz: 8e36f5f6a7df2a80153c46b4809b88da807c5380cb05e50d6290c65b269358f8175f086834cb3d6a27df222032e7393f8f7a3d309bbb4d174e12addf0687b367
7
+ data.tar.gz: c1862534816225d6654754e6d670044797cf960e7d2d411aac89eb22419fff13c85c39d16aa517b4042ac83955af50ad5acfcb6a36f7dfd90cd1b60768efd4f1
@@ -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
  ]
@@ -27,9 +27,8 @@ module FastlaneCraft
27
27
  bump_version
28
28
  archive
29
29
  upload_to_tf
30
+ @build_version.nil? ? @project_controller.bump_build_version_patch : @project_controller.set_build_version(@build_version)
30
31
  update_env
31
-
32
- build_version.nil? @project_controller.bump_build_version_patch : @project_controller.set_build_version(build_version)
33
32
  push_version_bump
34
33
 
35
34
  remove_existing_git_tag
@@ -108,7 +107,7 @@ module FastlaneCraft
108
107
  end
109
108
 
110
109
  def version_valid?(version)
111
- version.to_s.match?(/^\d\.\d\.\d{1,3}$/)
110
+ version.to_s.match?(/^\d{1,3}\.\d{1,3}\.\d{1,3}$/)
112
111
  end
113
112
 
114
113
  def version_dump
@@ -1,3 +1,3 @@
1
1
  module FastlaneCraft
2
- VERSION = '1.5.3'.freeze
2
+ VERSION = '1.5.8'.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.3
4
+ version: 1.5.8
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-07-31 00:00:00.000000000 Z
12
+ date: 2020-08-24 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: []