Skip to content

Commit 2e9ac09

Browse files
committed
Add more info to expanded section
1 parent f3cc153 commit 2e9ac09

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

fastlane/lanes/build.rb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,16 @@ def upload_installable_build(product:)
262262
icon = "<img alt='#{product}' align='top' src='https://raw.githubusercontent.com/buildkite/emojis/main/img-buildkite-64/#{product.downcase}.png' width='20px' />"
263263
comment_body = <<~PR_COMMENT
264264
<details>
265-
<summary>#{icon}📲 You can test these changes on #{product} by <a href='#{install_url}'>downloading <tt>#{filename}</tt></a></summary>
266-
<table><tr>
267-
<td width="250"><a href='#{install_url}'><img src='#{qr_code_url}' width='250' height='250' /></a></td>
268-
<td>Tip: You can also scan this QR code with your Android phone to download and install the APK directly on it.</td>
269-
</tr></table>
265+
<summary>#{icon}📲 You can test these changes on #{product} by <a href='#{install_url}'>downloading <tt>#{filename}</tt></a></summary>
266+
<table><tr>
267+
<td width='250' rowspan='5'><a href='#{install_url}'><img src='#{qr_code_url}' width='250' height='250' /></a></td>
268+
<td colspan='2'>💡 Tip: You can also scan this QR code with your Android phone to download and install the APK directly on it.</td>
269+
</tr>
270+
<tr><td width='150px'><b>Product</b></td><td><tt>#{product}</tt></td></tr>
271+
<tr><td><b>Flavor</b></td><td><tt>#{INSTALLABLE_BUILD_FLAVOR}</tt></td></tr>
272+
<tr><td><b>Build Type</b></td><td><tt>#{INSTALLABLE_BUILD_TYPE}</tt></td></tr>
273+
<tr><td><b>Commit</b></td><td>#{ENV['BUILDKITE_COMMIT']}</td></tr>
274+
</table>
270275
</details>
271276
<em>Note: This installable build uses the <tt>#{INSTALLABLE_BUILD_FLAVOR}#{INSTALLABLE_BUILD_TYPE}</tt> flavor, and does not support Google Login.</em>
272277
PR_COMMENT

0 commit comments

Comments
 (0)