fastlane-plugin-better_semantic_release 2.0.6 → 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: cdf9145fb92d0ad860e06aa1d0048a2b09e7486014b729f03edbc570a48e7343
4
- data.tar.gz: 99a9080bc41ba01250989bcf28c1d3d8aef54485839a71aa4fb353c09e0746c2
3
+ metadata.gz: 6163942a7a065e01a322e638e6e0316524c670063b1ca1e77db305a08f5a8218
4
+ data.tar.gz: 8f6acc8af791fb3447a5dbe1f6627e59afa1d7a8ac51ba97e005878fbab083c8
5
5
  SHA512:
6
- metadata.gz: 297b91e363748c8ed031ba9a294fe79ce8a9ef8e4467781f629dbe51cb73f1138cf2c24aebf6e27b7c9b802effd96080b7c648895e55e329ca3fb9a96bf888e9
7
- data.tar.gz: c7c1a7b7c9c56633deb74f43468851ea7f7c15ca960563f26076dbfb6d622b0dc6dc10f72e1df2780eac484f97cda5af3ca3c4034ffea1dfb4d68156892027df
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",
@@ -243,7 +243,7 @@ module Fastlane
243
243
  FastlaneCore::ConfigItem.new(
244
244
  key: :order,
245
245
  description: "You can change the order of groups in release notes",
246
- default_value: ["feat", "fix", "refactor", "perf", "chore", "test", "docs", "no_type"],
246
+ default_value: ["feat", "fix", "refactor", "perf", "chore", "style", "test", "docs", "no_type"],
247
247
  type: Array,
248
248
  optional: true
249
249
  ),
@@ -257,7 +257,7 @@ module Fastlane
257
257
  fix: "Bug fixes",
258
258
  refactor: "Code refactoring",
259
259
  perf: "Performance improvements",
260
- chore: "Building system",
260
+ chore: "Chores",
261
261
  test: "Testing",
262
262
  docs: "Documentation",
263
263
  style: "Stylistic",
@@ -1 +1 @@
1
- module Fastlane module BetterSemanticRelease VERSION = "2.0.6" 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.6
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-07 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