fastlane-plugin-semantic_release 1.9.0 → 1.9.1
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: c66674917e33a9f80d08bb6d3bcb7c6b4f58fc8f9b9af1dd82fa0ac5716e21ee
|
4
|
+
data.tar.gz: 7e17e04c3a1800bc732134ef251ffd6a9e2eb19cc3a711b7f5d1388a02e54491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f10d6840ad2cca40d61a21d7e0841b0afa569f4870922de04556828eb4b6e8ea34c1424cdd31c3bfdff9d282b56691f5124d425978da61c56fcf2b2ecd145111
|
7
|
+
data.tar.gz: 6b4ad63ff160110badea192be055ea48f7e2103076de6562b8a6ef7ab13cf138a2e35eea2ff545eade48e1670a34c5a8df4658bf522beb619cfab0c86f753dda
|
@@ -143,13 +143,22 @@ module Fastlane
|
|
143
143
|
end
|
144
144
|
|
145
145
|
def self.is_codepush_friendly(params)
|
146
|
+
git_command = 'git rev-list --max-parents=0 HEAD'
|
146
147
|
# Begining of the branch is taken for codepush analysis
|
147
|
-
|
148
|
+
hash_lines = Actions.sh("#{git_command} | wc -l", log: params[:debug]).chomp
|
149
|
+
hash = Actions.sh(git_command, log: params[:debug]).chomp
|
148
150
|
next_major = 0
|
149
151
|
next_minor = 0
|
150
152
|
next_patch = 0
|
151
153
|
last_incompatible_codepush_version = '0.0.0'
|
152
154
|
|
155
|
+
if hash_lines.to_i > 1
|
156
|
+
UI.error("#{git_command} resulted to more than 1 hash")
|
157
|
+
UI.error('This usualy happens when you pull only part of a git history. Check out how you pull the repo! "git fetch" should be enough.')
|
158
|
+
Actions.sh(git_command, log: true).chomp
|
159
|
+
return false
|
160
|
+
end
|
161
|
+
|
153
162
|
# Get commits log between last version and head
|
154
163
|
splitted = get_commits_from_hash(
|
155
164
|
hash: hash,
|
@@ -1 +1 @@
|
|
1
|
-
module Fastlane module SemanticRelease VERSION = "1.9.
|
1
|
+
module Fastlane module SemanticRelease VERSION = "1.9.1" end end
|