fastlane-plugin-better_semantic_release 2.0.14 → 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: 19a890d733a45d8e5d82ec1468f37ccf37287781ff5dbcb41756ddb204d58890
4
- data.tar.gz: 629bc72565fa04e7acfb0fcde47c39424807202c478903ffaa3ae2a84bfc2205
3
+ metadata.gz: 6023a79bb95c56e3720eb4ef17ef1f523b008d54fb8a89c9e4fce8e807259240
4
+ data.tar.gz: 71ad79dca53f18847314c272fb2b1c46584cd6382e5037aff77dfe658db5db1e
5
5
  SHA512:
6
- metadata.gz: d641ac1f4c5d17ca4ba3f786e782ae96d8ef98a227ed8bb4c4d7ce4bc1903d2f60709a981d56e33969431f7ce6852ed319b380fec19539cfb77cb0be9a130bea
7
- data.tar.gz: fdaa280615a047254253391921ab1b58305ba1e5d796689bc2a0390131346581058c0039db9dcdfe4074951c6c0f03ba396da4a1a9687a66330bd091eab398e6
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.14" 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.14
4
+ version: 2.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Greco