fastlane-plugin-better_semantic_release 2.0.15 → 2.0.16
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: 6023a79bb95c56e3720eb4ef17ef1f523b008d54fb8a89c9e4fce8e807259240
|
4
|
+
data.tar.gz: 71ad79dca53f18847314c272fb2b1c46584cd6382e5037aff77dfe658db5db1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 184edd261fe49880fb2af4901ea8f2397466fa88441d2a040d540a563cbb112cb7983c1037c942fffe90d7fcc9f98b73be44bec92c763744dbbc0a5a634c85a1
|
7
|
+
data.tar.gz: a654a768ab0118279443e7cc63304d47a8cc7cd124bd83a060c3a112d7f3d0c3b3204f5665016d0be13e5de1ce54b0632bf963912e2a52dda61245dd990f3c49
|
@@ -28,16 +28,10 @@ module Fastlane
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.get_last_tag_hash(params)
|
31
|
-
#
|
32
|
-
|
33
|
-
|
34
|
-
command
|
35
|
-
command_output = Actions.sh(command, log: false).chomp
|
36
|
-
hashes = command_output.split("\n")
|
37
|
-
if hashes.length > 1
|
38
|
-
return hashes[1]
|
39
|
-
end
|
40
|
-
return nil
|
31
|
+
# Convert ios/production/1.15.3-2-ga8b1c030 to ios/production/1.15.3 so we can get hash of it
|
32
|
+
formatted_tag = params[:tag_name].slice(0..(params[:tag_name].index('-') - 1))
|
33
|
+
command = "git rev-list -n 1 refs/tags/#{formatted_tag}"
|
34
|
+
Actions.sh(command, log: params[:debug]).chomp
|
41
35
|
end
|
42
36
|
|
43
37
|
def self.get_commits_from_hash(params)
|
@@ -129,6 +123,8 @@ module Fastlane
|
|
129
123
|
debug: params[:debug]
|
130
124
|
)
|
131
125
|
|
126
|
+
UI.message hash
|
127
|
+
|
132
128
|
UI.message("Found #{splitted.length} commits since last release")
|
133
129
|
releases = params[:releases]
|
134
130
|
|
@@ -1 +1 @@
|
|
1
|
-
module Fastlane module BetterSemanticRelease VERSION = "2.0.
|
1
|
+
module Fastlane module BetterSemanticRelease VERSION = "2.0.16" end end
|