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: bdf6833446cecc4be3d72e2357a16208d13fa6ef9464ee0e916957322f79300c
4
- data.tar.gz: a7a517d408482d7170186a6f57782b600d622e6ff232347d6c317868b6adedb5
3
+ metadata.gz: 6023a79bb95c56e3720eb4ef17ef1f523b008d54fb8a89c9e4fce8e807259240
4
+ data.tar.gz: 71ad79dca53f18847314c272fb2b1c46584cd6382e5037aff77dfe658db5db1e
5
5
  SHA512:
6
- metadata.gz: a3008637927bde5143dc14da2aaed98774d0a7bed01042ed4c23469be85b04de1c585cab19e91439ca4565d783e19e777c4d30b5a20f42cc881cafbebb5a57e8
7
- data.tar.gz: ee3e96a3726c739e5b74b6ea4197e686e5d0d4a8edee8dbe05a1f1ea01c4f36904ccac727ff62d6282d5808acbf080d06ce123eb47ccb3a2bd72669325692946
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
- #command = "git rev-list -n 1 refs/tags/#{params[:tag_name]}"
32
- #Actions.sh(command, log: params[:debug]).chomp
33
-
34
- command = "git log -2 --pretty=format:'%H' #{params[:tag_name]}"
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.15" end end
1
+ module Fastlane module BetterSemanticRelease VERSION = "2.0.16" end end
metadata CHANGED
@@ -1,7 +1,7 @@
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.15
4
+ version: 2.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Greco