From f9adeb624043395e0912e80c3523f9bba4103743 Mon Sep 17 00:00:00 2001 From: Axel Schlueter Date: Mon, 31 Jul 2017 16:04:34 +0200 Subject: [PATCH] new "html_in_folder" option (#30) * option to move the generated HTML file into the version directory (issue #29) * replace Date.current with Date.today --- lib/assets/s3_android_html_template.erb | 2 +- lib/assets/s3_ios_html_template.erb | 2 +- .../plugin/aws_s3/actions/aws_s3_action.rb | 30 ++++++++++++------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/lib/assets/s3_android_html_template.erb b/lib/assets/s3_android_html_template.erb index d62b34d..1b24a81 100644 --- a/lib/assets/s3_android_html_template.erb +++ b/lib/assets/s3_android_html_template.erb @@ -58,7 +58,7 @@ Install <%= title %> <%= version_name %> (<%= version_code %>)
-

Built on <%= Date.current.strftime('%a, %e %b %Y %H:%M %p') %>

+

Built on <%= Date.today.strftime('%a, %e %b %Y %H:%M %p') %>