fastlane-plugin-better_semantic_release 2.0.13 → 2.0.15

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: fd3fd3acd1de7d20cbacbb01876f954c3c5dc2cdf22b930da1789064fe1b11fb
4
- data.tar.gz: c1d0aa38e6de46ff11ef09de7beed52f1a44e72fdf4976124ea110b1f846ff60
3
+ metadata.gz: bdf6833446cecc4be3d72e2357a16208d13fa6ef9464ee0e916957322f79300c
4
+ data.tar.gz: a7a517d408482d7170186a6f57782b600d622e6ff232347d6c317868b6adedb5
5
5
  SHA512:
6
- metadata.gz: e7dbe35d37d754c663cdc3107bfa117d45a8b27f751e26ff9137e4f726aa88845e2c0a17ffbe975882abb140365547bb1e60d69b7881331294cf5a9e2fe723a0
7
- data.tar.gz: 95d2557dc7b92b632bc21174799f4af88749940d82199f86331ee3c752c661f6879b334f7d36c9a2b937b1e310b661063b3a3101c250f3006d3958c86f51b1a8
6
+ metadata.gz: a3008637927bde5143dc14da2aaed98774d0a7bed01042ed4c23469be85b04de1c585cab19e91439ca4565d783e19e777c4d30b5a20f42cc881cafbebb5a57e8
7
+ data.tar.gz: ee3e96a3726c739e5b74b6ea4197e686e5d0d4a8edee8dbe05a1f1ea01c4f36904ccac727ff62d6282d5808acbf080d06ce123eb47ccb3a2bd72669325692946
@@ -6,6 +6,7 @@ module Fastlane
6
6
  module SharedValues
7
7
  end
8
8
 
9
+ # TODO Add version_override param
9
10
  class ConventionalChangelogAction < Action
10
11
  def self.get_commits_from_hash(params)
11
12
  commits = Helper::BetterSemanticReleaseHelper.git_log(
@@ -28,7 +29,7 @@ module Fastlane
28
29
  end
29
30
 
30
31
  last_tag_hash = lane_context[SharedValues::RELEASE_LAST_TAG_HASH]
31
- version = lane_context[SharedValues::RELEASE_NEXT_VERSION]
32
+ version = params[:version_override] ? params[:version_override] : lane_context[SharedValues::RELEASE_NEXT_VERSION]
32
33
 
33
34
  # Get commits log between last version and head
34
35
  commits = get_commits_from_hash(
@@ -337,6 +338,11 @@ module Fastlane
337
338
  default_value: false,
338
339
  type: Boolean,
339
340
  optional: true
341
+ ),
342
+ FastlaneCore::ConfigItem.new(
343
+ key: :version_override,
344
+ description: "Allow overriding version number rather than letting it be calculated here. Useful for prod build matching beta version",
345
+ optional: true
340
346
  )
341
347
  ]
342
348
  end
@@ -1 +1 @@
1
- module Fastlane module BetterSemanticRelease VERSION = "2.0.13" end end
1
+ module Fastlane module BetterSemanticRelease VERSION = "2.0.15" 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.13
4
+ version: 2.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Greco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2023-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry