fastlane-plugin-better_semantic_release 2.0.8 → 2.0.9

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: d7523d221e0620a314012235b9bb6bd3b5b3cb0020b13ab1f2b0f747afe91e9d
4
- data.tar.gz: 3b2186326de79b4b2c1cf1e7c990e58de4f0b2bde9033046dac7947e8da6a222
3
+ metadata.gz: 6163942a7a065e01a322e638e6e0316524c670063b1ca1e77db305a08f5a8218
4
+ data.tar.gz: 8f6acc8af791fb3447a5dbe1f6627e59afa1d7a8ac51ba97e005878fbab083c8
5
5
  SHA512:
6
- metadata.gz: c79c99c5d0ab46957a2da7acd369c87273f2408cf3a860adedc35b1baa179410e907e59301a945f2595dccd169d7f0f2133bbb3f2b485b43a7b724dc07d020e2
7
- data.tar.gz: 42031a7e17474ca6b59a0e24a110415a7803514e17912bac7b3617bcee01daf69a43cff71e9cb65fc07f823a100118452502fdde0aafd430bb1f60ae7a19e7f7
6
+ metadata.gz: 8138a86c841eb31984e94646905df678c0250af85f6fa2af1bf4ecf19d53c16a4d5ada3525b349a94a57c90eb3308580f57d5d8a28f91fa8756aa05f3822abc1
7
+ data.tar.gz: 484b848e55431f912208a2bc3f0b69eb7be146c1d6b6c4a6dba89dd125efa08e301705e4554abb51424d43780508b23fd79131835256188d251ecee677305fd1
@@ -112,7 +112,7 @@ module Fastlane
112
112
  end
113
113
 
114
114
  # Default last version
115
- version = beginning[:version] || '0.0.0'
115
+ version = beginning[:version] || params[:version_start]
116
116
  # If the tag is not found we are taking HEAD as reference
117
117
  hash = beginning[:hash] || 'HEAD'
118
118
 
@@ -206,7 +206,7 @@ module Fastlane
206
206
  next_major = 0
207
207
  next_minor = 0
208
208
  next_patch = 0
209
- last_incompatible_codepush_version = '0.0.0'
209
+ last_incompatible_codepush_version = params[:version_start]
210
210
 
211
211
  if hash_lines.to_i > 1
212
212
  UI.error("#{git_command} resulted to more than 1 hash")
@@ -329,6 +329,13 @@ module Fastlane
329
329
  description: "To parse version number from tag name",
330
330
  default_value: '\d+\.\d+\.\d+'
331
331
  ),
332
+ FastlaneCore::ConfigItem.new(
333
+ key: :version_start,
334
+ description: "Number to start versioning from, useful if TestFlight has a bad version",
335
+ default_value: '0.0.0',
336
+ type: Number,
337
+ optional: true
338
+ ),
332
339
  FastlaneCore::ConfigItem.new(
333
340
  key: :ignore_scopes,
334
341
  description: "To ignore certain scopes when calculating releases",
@@ -1 +1 @@
1
- module Fastlane module BetterSemanticRelease VERSION = "2.0.8" end end
1
+ module Fastlane module BetterSemanticRelease VERSION = "2.0.9" end end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-better_semantic_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Greco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-11 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry