Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting a link to a Compiled Binary on Github

Tags:

github

How do you include a link to a compiled binary on Github?

like image 489
David Beck Avatar asked Jul 22 '10 01:07

David Beck


2 Answers

You can link to a specific file in a GitHub repo using the URL http://github.com/<username>/<project>/blob/<branch>/<path/to/file>. So if you track your compiled binary, you can link to it that way.

Otherwise, you can upload the compiled binary to your project's download page, and distribute that URL.

like image 130
mipadi Avatar answered Nov 18 '22 10:11

mipadi


Since 2d July 2013, you now can define a release.

Releases, a workflow for shipping software to end users.
Releases are first-class objects with changelogs and binary assets that present a full project history beyond Git artifacts. They're accessible from a repository's homepage:

homepage

  • Releases are accompanied by release notes and links to download the software or source code.
  • Following the conventions of many Git projects, releases are tied to Git tags. You can use an existing tag, or let releases create the tag when it's published.
  • You can also attach binary assets (such as compiled executables, minified scripts, documentation) to a release. Once published, the release details and assets are available to anyone that can view the repository.

release

That is what replaces the old binary upload service, which was removed in December 2012!

like image 31
VonC Avatar answered Nov 18 '22 11:11

VonC