fastlane-plugin-better_semantic_release 2.0.12 → 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19a890d733a45d8e5d82ec1468f37ccf37287781ff5dbcb41756ddb204d58890
|
4
|
+
data.tar.gz: 629bc72565fa04e7acfb0fcde47c39424807202c478903ffaa3ae2a84bfc2205
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d641ac1f4c5d17ca4ba3f786e782ae96d8ef98a227ed8bb4c4d7ce4bc1903d2f60709a981d56e33969431f7ce6852ed319b380fec19539cfb77cb0be9a130bea
|
7
|
+
data.tar.gz: fdaa280615a047254253391921ab1b58305ba1e5d796689bc2a0390131346581058c0039db9dcdfe4074951c6c0f03ba396da4a1a9687a66330bd091eab398e6
|
data/README.md
CHANGED
@@ -144,7 +144,7 @@ module Fastlane
|
|
144
144
|
# conventional commits are in format
|
145
145
|
# type: subject (fix: app crash - for example)
|
146
146
|
commit = Helper::BetterSemanticReleaseHelper.parse_commit(
|
147
|
-
commit_subject: line,
|
147
|
+
commit_subject: line.strip,
|
148
148
|
commit_body: parts[1].strip,
|
149
149
|
releases: releases,
|
150
150
|
pattern: format_pattern
|
@@ -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.
|
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.
|
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-
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|