title: Programmatically add files to a GitHub download page
body: <p>[[Please note that Github has changed a lot since this question was first asked; instead of "download page" read "new release".]]</p>
  
  <p>I generate PDF documentation as part of my projects and I'd like them to stay in sync with my Git repository (it's not always possible for people to build their own since they often use proprietary fonts).</p>
  
  <p>However, it's not really "correct" to add the PDFs to the repository since it's a derived file; furthermore, doing this adds significantly to the size of the commits and the size of the repository overall.</p>
  
  <p>Is it possible to programmatically send files to the GitHub download page? (I know that tagged commits are automatically added there with <code>git push --tags</code> but I don't know where this is documented. I suppose I could do something fancy by adding a separate branch only containing the PDFs themselves — as done by the GitHub user pages — but I'm a bit rusty on using Git this way.)</p>