From 41d1c551a5991cf867c1825188dda5d1f350fca4 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 5 Jan 2016 17:32:07 -0800 Subject: [PATCH] fix(rpm): Upload RPM builds following naming convention --- build/tasks/publish-nylas-build-task.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/publish-nylas-build-task.coffee b/build/tasks/publish-nylas-build-task.coffee index b04eb4a28..d87c165a5 100644 --- a/build/tasks/publish-nylas-build-task.coffee +++ b/build/tasks/publish-nylas-build-task.coffee @@ -160,7 +160,7 @@ module.exports = (grunt) -> if path.extname(file) is '.deb' uploadPromises.push uploadToS3(file, "#{fullVersion}/#{process.platform}/#{process.arch}/N1.deb") if path.extname(file) is '.rpm' - uploadPromises.push uploadToS3(file, "#{fullVersion}/#{process.platform}/#{process.arch}/#{path.basename(file)}") + uploadPromises.push uploadToS3(file, "#{fullVersion}/#{process.platform}/#{process.arch}/N1.rpm") else grunt.fail.fatal "Unsupported platform: '#{process.platform}'"