 
   request options, (error, response, body='') ->
     if error? or response.statusCode isnt 201
-      logError("Creating atom/atom draft release failed", error, body)
+      logError("Creating #{repo} draft release failed", error, body)
       callback(error ? new Error(response.statusCode))
     else
       callback(null, body)

createAtomDraftRelease = (isPrerelease, branchName, callback) ->
  {version} = require('../../package.json')
  options =
    uri: 'https://api.github.com/repos/atom/atom/releases'
    method: 'POST'
    headers: defaultHeaders
    json:

  async.parallel(tasks, callback)

getAtomDraftRelease = (isPrerelease, branchName, callback) ->
  atomRepo = new GitHub({repo: repo, token})
  atomRepo.getReleases {prerelease: isPrerelease}, (error, releases=[]) ->
    if error?
      logError("Fetching #{repo} #{if isPrerelease then "pre" else "" }releases failed", error, releases)
      callback(error)
    else
      [firstDraft] = releases.filter ({draft}) -> draft
