Build and publish API docs

This will build the API docs and publish them to the [release](https://github.com/atom/atom/releases) page. It is the first step towards automating the API doc generation.
What is the proper way to do this with grunt? Since `build-docs` is a task dependency it doesn't take conditionals. Is `grunt.task.run('build-docs')` the standard way around this problem?