Use commitSha variable

This commit is contained in:
Kevin Sawicki 2013-12-10 16:49:18 -08:00
parent 3e359e3c4e
commit fbd8f7a1a7

View File

@ -76,7 +76,7 @@ createRelease = (callback) ->
tag_name: "v#{commitSha}" tag_name: "v#{commitSha}"
target_commitish: 'master' target_commitish: 'master'
name: commitSha name: commitSha
body: "Build of [atom@#{commitSha.substring(0, 7)}](https://github.com/atom/atom/commit/#{process.env.commitSha})" body: "Build of [atom@#{commitSha.substring(0, 7)}](https://github.com/atom/atom/commit/#{commitSha})"
draft: true draft: true
request options, (error, response, release={}) -> request options, (error, response, release={}) ->
if error? or response.statusCode isnt 201 if error? or response.statusCode isnt 201