Log what release is being uploaded to

This commit is contained in:
Kevin Sawicki 2013-12-10 13:24:02 -08:00
parent f3f94a2af0
commit e1a1a7efc9

View File

@ -2,6 +2,7 @@
return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'ks-upload-release'
child_process = require 'child_process'
path = require 'path'
@ -77,6 +78,7 @@ uploadAsset = (release) ->
fs.createReadStream(assetPath).pipe(assetRequest)
getDraftRelease (release) ->
console.log("Uploading #{path.basename(assetPath)} asset to #{release.name} release")
zipApp ->
deleteExistingAsset release, ->
uploadAsset(release)