From d24b367ae48a05e38f5359e8d9930e6b7f0066b3 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 24 Jun 2021 08:53:27 +0200 Subject: [PATCH] [ci] Use proper file extension tar.gz for regression report upload --- Dangerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dangerfile b/Dangerfile index 0c5560991d..5a861d8567 100644 --- a/Dangerfile +++ b/Dangerfile @@ -30,7 +30,7 @@ end def upload_report Dir.chdir('target/reports') do - tar_filename = "pr-#{ENV['PMD_CI_PULL_REQUEST_NUMBER']}-diff-report-#{Time.now.strftime("%Y-%m-%dT%H-%M-%SZ")}.tar" + tar_filename = "pr-#{ENV['PMD_CI_PULL_REQUEST_NUMBER']}-diff-report-#{Time.now.strftime("%Y-%m-%dT%H-%M-%SZ")}.tar.gz" unless Dir.exist?('diff/') message("No java rules are changed!", sticky: true) return