File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,14 @@ def self.run(params)
52
52
# Fetch Request
53
53
res = http . request ( req )
54
54
rescue StandardError => e
55
- Helper . log . info "HTTP Request failed (#{ e . message } )" . red
55
+ UI . message "HTTP Request failed (#{ e . message } )" . red
56
56
end
57
57
58
58
case res . code . to_i
59
59
when 201
60
60
json = JSON . parse ( res . body )
61
- Helper . log . info "Github Release Created (#{ json [ "id" ] } )" . green
62
- Helper . log . info "#{ json [ "html_url" ] } " . green
61
+ UI . message "Github Release Created (#{ json [ "id" ] } )" . green
62
+ UI . message "#{ json [ "html_url" ] } " . green
63
63
64
64
Actions . lane_context [ SharedValues ::GITHUB_RELEASE_ID ] = json [ "id" ]
65
65
Actions . lane_context [ SharedValues ::GITHUB_RELEASE_HTML_URL ] = json [ "html_url" ]
@@ -69,7 +69,7 @@ def self.run(params)
69
69
json = JSON . parse ( res . body )
70
70
raise "Error Creating Github Release (#{ res . code } ): #{ json } " . red
71
71
else
72
- Helper . log . info "Status Code: #{ res . code } Body: #{ res . body } "
72
+ UI . message "Status Code: #{ res . code } Body: #{ res . body } "
73
73
raise "Error Creating Github Release" . red
74
74
end
75
75
end
You can’t perform that action at this time.
0 commit comments