fastlane-plugin-better_semantic_release 2.0.17 → 2.0.19

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: f6f689255ee572e2f4f5b49668ea19d6ba46ccf006e979b41e24c569b1864230
4
- data.tar.gz: 1777a1d9150608717e90d9374487ba352f96afbb72a4f8143cf3af13f72b660a
3
+ metadata.gz: 61df3dbe3d4ef4c54ad3c46fc2c734e390f4bb97d401ffd9a272a8ad4e38f903
4
+ data.tar.gz: 8c357041c51f2016940f5b10cdd7bed7cca5e60704cd079fa4bd6a766f92eb50
5
5
  SHA512:
6
- metadata.gz: 3248cb8fbd09b2fe82b1c05adf7fb5fcf87fc051932463a746f160d303f3b6b1745ee3042267f34fcfe8bdb06ed7082b968f39704a87a3948b874bb163879cf3
7
- data.tar.gz: b60a579853f5c11414698038be6015152261f7c6242feb26d55427cb644cf634ce6e495d269a0a3a8d1d5e37c19b2d30bea44f245dc3ec8169109548e12794d9
6
+ metadata.gz: ac4df8e9445df3ac2c7bc5382632615439d44efe2d3b81474aa100b77a2ed26aa11612079c3708af0af6354ecdaaed5ae777a876715cb2a31cc4d6314fcaeb39
7
+ data.tar.gz: 2140af3c4b40ee5c3c702963b616fe8d91cbc705b0dcf9ed820a246b9843276e725df7cf9bed9ae194ed4be6cb8a6f0adfba31240ce44594eafad5f2df9e8515
data/README.md CHANGED
@@ -87,18 +87,9 @@ To run the test suite (contained in `./spec`), call `bundle exec rake`
87
87
 
88
88
  # Publishing Update
89
89
 
90
- Increment version number, commit changes, run:
90
+ Increment version number in ./lib/fastlane/plugin/better_semantic_release/version.rb, commit changes, run:
91
91
 
92
92
  `bundle install && rake install && rake release`
93
93
 
94
94
  Then in client app using plugin
95
- `bundle update fastlane-plugin-better_semantic_release`
96
-
97
-
98
- ## Questions
99
-
100
- If you need anything ping us on [twitter](http://bit.ly/t-xotahal).
101
-
102
- | Jiri Otahal |
103
- | -------------------------------------------------------------------------------------------------------------------------------------- |
104
- | [<img src="https://avatars3.githubusercontent.com/u/3531955?v=4" width="100px;" style="border-radius:50px"/>](http://bit.ly/t-xotahal) |
95
+ `bundle update fastlane-plugin-better_semantic_release`
@@ -80,7 +80,8 @@ module Fastlane
80
80
 
81
81
  # Tag's format is v2.3.4-5-g7685948
82
82
  # See git describe man page for more info
83
- version = tag.split('/')[2]
83
+ slach_occurrences = tag.count("/")
84
+ version = tag.split('/')[slach_occurrences]
84
85
 
85
86
  if version.nil?
86
87
  UI.user_error!("Error while parsing version from tag #{tag}")
@@ -204,7 +205,8 @@ module Fastlane
204
205
  end
205
206
 
206
207
  def self.is_codepush_friendly(params)
207
- git_command = "git rev-list --max-parents=#{params[:start_hash]} HEAD"
208
+ git_command = "git rev-list --max-parents=0 #{params[:start_hash]} HEAD"
209
+ UI.message("git rev-list --max-parents=0 #{params[:start_hash]} HEAD | wc -l")
208
210
  # Begining of the branch is taken for codepush analysis
209
211
  hash_lines = Actions.sh("#{git_command} | wc -l", log: params[:debug]).chomp
210
212
  hash = Actions.sh(git_command, log: params[:debug]).chomp
@@ -1 +1 @@
1
- module Fastlane module BetterSemanticRelease VERSION = "2.0.17" end end
1
+ module Fastlane module BetterSemanticRelease VERSION = "2.0.19" 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.17
4
+ version: 2.0.19
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-09-11 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry