fastlane-plugin-nico 0.10.8 → 0.10.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/emerge/helper/github.rb +11 -4
- data/lib/fastlane/plugin/nico/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6347572f2fdfaeba6ec6d524f7bd3051511bcb38ce0c021e6c392d2043a56b0e
|
4
|
+
data.tar.gz: 245810190dd65dd4410219ee070f14261e41021d89cd5f1146a25fd95f756fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9bdddc1ffbe317f7026ae04cb1d15a4bbf063bc5c15090f24f24b9d1d9f00f8dd3a0499e02ecbaaa30337e7584250cbe07878cbe52ee36fc89c9f563192e4f2
|
7
|
+
data.tar.gz: 8646f586e5bb6f272f0f176874f8cedaf77804c63cfafc18758eac50dfe84984b83725b0e071c6296c949f9731a475eab8b40357c623caccae3627ffa6a01e46
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'json'
|
2
2
|
require 'fastlane_core/print_table'
|
3
|
+
require 'open3'
|
3
4
|
require_relative 'git'
|
4
5
|
|
5
6
|
module Fastlane
|
@@ -43,10 +44,16 @@ module Fastlane
|
|
43
44
|
if is_push?
|
44
45
|
github_event_data.dig(:before)
|
45
46
|
else
|
46
|
-
|
47
|
-
|
48
|
-
stdout,
|
49
|
-
|
47
|
+
github_event_data.dig(:before)
|
48
|
+
# shell_command = "git rev-parse HEAD^"
|
49
|
+
# stdout, stderr, status = Open3.capture3(shell_command)
|
50
|
+
# UI.message("Previous SHA command output: #{stdout.strip}")
|
51
|
+
# if status.success?
|
52
|
+
# stdout.strip
|
53
|
+
# else
|
54
|
+
# UI.error("Failed to get previous SHA: #{stderr}")
|
55
|
+
# nil
|
56
|
+
# end
|
50
57
|
end
|
51
58
|
end
|
52
59
|
|