 
 uploadAssets = (release, buildDir, assets, callback) ->
   uploadToReleases = (release, assetName, assetPath, callback) ->
-    grunt.log.ok("Uploading #{assetName} to GitHub release #{release}")
+    grunt.log.ok("Uploading #{assetName} to GitHub release #{release.tag_name}")
     options =
       uri: release.upload_url.replace(/\{.*$/, "?name=#{assetName}")
       method: 'POST'

      logError('Deleting release failed', error, body)

deleteExistingAssets = (release, assetNames, callback) ->
  grunt.log.ok("Deleting #{assetNames.join(',')} from GitHub release #{release}")
  [callback, assetNames] = [assetNames, callback] if not callback?

  deleteAsset = (url, callback) ->

      callback(null, body)

deleteRelease = (release) ->
  grunt.log.ok("Deleting GitHub release #{release.tag_name}")
  options =
    uri: release.url
    method: 'DELETE'
