Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I post a "release" on github?

Tags:

I have a few open source projects that I manage. I've been posting the .tar.gz releases for them to a directory on a webserver I run. I would like to post them to github. Is there a simple way to post the release and a signature for the release? My users aren't sophisticated enough to download the release with git; they want to download and install a .tar.gz file. Some of them may even want to verify the signature.

like image 444
vy32 Avatar asked Mar 30 '12 23:03

vy32


People also ask

How do GitHub releases work?

Releases are GitHub's way of packaging and providing software to your users. You can think of it as a replacement to using downloads to provide software. With Releases, you can provide links to binary files, as well as release notes describing your changes. At their core, Releases are based on Git tags.

What is the difference between release and tag in GitHub?

A tag is a git concept whereas a Release is GitHub higher level concept. As stated in the official announcement post from the GitHub blog: "Releases are first-class objects with changelogs and binary assets that present a full project history beyond Git artifacts."


2 Answers

GitHub have just announced their new "GitHub Releases" feature, which sounds like exactly what you're after:

https://github.com/blog/1547-release-your-software

like image 97
rmc47 Avatar answered Oct 14 '22 16:10

rmc47


One nice option github supports is tagging, and automatic tar.gz/zip creation based on those tags. It makes publishing releases really easy.

http://learn.github.com/p/tagging.html

On the commit/branch that you'd like to mark as a release, do

git tag <release_tag> 

then

git push --tags 

then, on github.com/user/repo/tags, you can see all tagged releases. You can link straight to those files, like in jimw's answer.

like image 42
YenTheFirst Avatar answered Oct 14 '22 16:10

YenTheFirst