fix(rpm): Upload RPM builds following naming convention

This commit is contained in:
Ben Gotow 2016-01-05 17:32:07 -08:00
parent 78fe32350c
commit 41d1c551a5

View file

@ -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}'"