Skip to content

Commit e4f9b2e

Browse files
don't rely on git commands in github context for previous_sha (#31)
1 parent 9869fda commit e4f9b2e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

lib/fastlane/plugin/emerge/helper/github.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ def self.base_sha
4242
def self.previous_sha
4343
if is_push?
4444
github_event_data.dig(:before)
45-
else
46-
shell_command = "git rev-parse HEAD^"
47-
UI.command(shell_command)
48-
stdout, _, status = Open3.capture3(shell_command)
49-
stdout.strip if status.success?
5045
end
5146
end
5247

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Fastlane
22
module Emerge
3-
VERSION = "0.10.5"
3+
VERSION = "0.10.6"
44
end
55
end

0 commit comments

Comments
 (0)