fastlane-plugin-sequenia_gitflow 0.1.1 → 0.1.2
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: b5153f7fdae0a8f745235679bd7e582f7b64d8f6432d79073016a738983bdb3e
|
4
|
+
data.tar.gz: 69d511ee4189855ca77ae1b01e0f844e088c837567c1a6ab485c55b6f433f5b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6b5b12369dc01ea935524407c8f4b4690f7210d1521f36f55fed2e902c9eb29b77fe8dd980aec72733647617957ef32c4a5ee33efe9152a95394fb423483eed
|
7
|
+
data.tar.gz: 6120513f58e56f341d3e2587be9cd5881892eadc8009e5f67537b5b369590ec4f374c001fc72f0da8bb832281ef4d2751eb1b1f0c0b53bfe0e065bb07d17793b
|
@@ -6,15 +6,16 @@ module Fastlane
|
|
6
6
|
class FetchMergedTasksAction < Action
|
7
7
|
def self.run(params)
|
8
8
|
last_tag = params[:last_release_tag]
|
9
|
+
first_commit = Helper::SequeniaGitflowHelper.first_commit
|
9
10
|
regexp = params[:feature_branches_regexp]
|
10
11
|
already_with_prefix = params[:already_with_prefix]
|
11
12
|
|
12
|
-
if !Helper::SequeniaGitflowHelper.tag_exist?(last_tag)
|
13
|
+
if !last_tag.nil? && !Helper::SequeniaGitflowHelper.tag_exist?(last_tag)
|
13
14
|
UI.user_error!("Tag '#{last_tag}' doesn't exist")
|
14
15
|
end
|
15
16
|
|
16
|
-
all_branch_commits = Helper::SequeniaGitflowHelper.current_branch_all_commit_hashes(last_tag)
|
17
|
-
merge_commits = Helper::SequeniaGitflowHelper.current_branch_merge_commit_hashes(last_tag)
|
17
|
+
all_branch_commits = Helper::SequeniaGitflowHelper.current_branch_all_commit_hashes(last_tag || first_commit)
|
18
|
+
merge_commits = Helper::SequeniaGitflowHelper.current_branch_merge_commit_hashes(last_tag || first_commit)
|
18
19
|
|
19
20
|
branches = Helper::SequeniaGitflowHelper.fetch_merged_task_branches(
|
20
21
|
all_branch_commits,
|
@@ -11,7 +11,7 @@ module Fastlane
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.first_commit
|
14
|
-
array_from_gitlog('git log --reverse | head -n1').first
|
14
|
+
array_from_gitlog('git log --pretty=\"%H\" --reverse | head -n1').first
|
15
15
|
end
|
16
16
|
|
17
17
|
# Получение merge-коммитов от последнего релизного тэга до HEAD ветки
|