fastlane-plugin-better_semantic_release 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6023a79bb95c56e3720eb4ef17ef1f523b008d54fb8a89c9e4fce8e807259240
4
- data.tar.gz: 71ad79dca53f18847314c272fb2b1c46584cd6382e5037aff77dfe658db5db1e
3
+ metadata.gz: f6f689255ee572e2f4f5b49668ea19d6ba46ccf006e979b41e24c569b1864230
4
+ data.tar.gz: 1777a1d9150608717e90d9374487ba352f96afbb72a4f8143cf3af13f72b660a
5
5
  SHA512:
6
- metadata.gz: 184edd261fe49880fb2af4901ea8f2397466fa88441d2a040d540a563cbb112cb7983c1037c942fffe90d7fcc9f98b73be44bec92c763744dbbc0a5a634c85a1
7
- data.tar.gz: a654a768ab0118279443e7cc63304d47a8cc7cd124bd83a060c3a112d7f3d0c3b3204f5665016d0be13e5de1ce54b0632bf963912e2a52dda61245dd990f3c49
6
+ metadata.gz: 3248cb8fbd09b2fe82b1c05adf7fb5fcf87fc051932463a746f160d303f3b6b1745ee3042267f34fcfe8bdb06ed7082b968f39704a87a3948b874bb163879cf3
7
+ data.tar.gz: b60a579853f5c11414698038be6015152261f7c6242feb26d55427cb644cf634ce6e495d269a0a3a8d1d5e37c19b2d30bea44f245dc3ec8169109548e12794d9
data/README.md CHANGED
@@ -91,6 +91,9 @@ Increment version number, commit changes, run:
91
91
 
92
92
  `bundle install && rake install && rake release`
93
93
 
94
+ Then in client app using plugin
95
+ `bundle update fastlane-plugin-better_semantic_release`
96
+
94
97
 
95
98
  ## Questions
96
99
 
@@ -29,7 +29,13 @@ module Fastlane
29
29
 
30
30
  def self.get_last_tag_hash(params)
31
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))
32
+ UI.message "get_last_tag_hash #{params[:tag_name]}"
33
+ dashIndex = params[:tag_name].index('-')
34
+ if dashIndex
35
+ formatted_tag = params[:tag_name].slice(0..(params[:tag_name].index('-') - 1))
36
+ elsif
37
+ formatted_tag = params[:tag_name]
38
+ end
33
39
  command = "git rev-list -n 1 refs/tags/#{formatted_tag}"
34
40
  Actions.sh(command, log: params[:debug]).chomp
35
41
  end
@@ -1 +1 @@
1
- module Fastlane module BetterSemanticRelease VERSION = "2.0.16" end end
1
+ module Fastlane module BetterSemanticRelease VERSION = "2.0.17" 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.16
4
+ version: 2.0.17
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-03-02 00:00:00.000000000 Z
11
+ date: 2023-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry