fastlane-plugin-better_semantic_release 2.0.13 → 2.0.14

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: 19a890d733a45d8e5d82ec1468f37ccf37287781ff5dbcb41756ddb204d58890
4
+ data.tar.gz: 629bc72565fa04e7acfb0fcde47c39424807202c478903ffaa3ae2a84bfc2205
5
5
  SHA512:
6
- metadata.gz: e7dbe35d37d754c663cdc3107bfa117d45a8b27f751e26ff9137e4f726aa88845e2c0a17ffbe975882abb140365547bb1e60d69b7881331294cf5a9e2fe723a0
7
- data.tar.gz: 95d2557dc7b92b632bc21174799f4af88749940d82199f86331ee3c752c661f6879b334f7d36c9a2b937b1e310b661063b3a3101c250f3006d3958c86f51b1a8
6
+ metadata.gz: d641ac1f4c5d17ca4ba3f786e782ae96d8ef98a227ed8bb4c4d7ce4bc1903d2f60709a981d56e33969431f7ce6852ed319b380fec19539cfb77cb0be9a130bea
7
+ data.tar.gz: fdaa280615a047254253391921ab1b58305ba1e5d796689bc2a0390131346581058c0039db9dcdfe4074951c6c0f03ba396da4a1a9687a66330bd091eab398e6
@@ -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.14" 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.14
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