Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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.

Other awesome option might be distributing from http://bintray.com. It integrates great with GitHub and gives you so much more when distributing binaries.

I you'd also like to upload other kinds of files (compiled binaries, ...) and edit github releases from the commandline with a rather easy-to-use tool, I made something for that. It's called github-release. It's basically a user-friendly abstraction over the Github releases API. It's written in Go so I took the liberty of cross-compiling it for OSX/linux/windows/FreeBSD, and you can download the binaries from the releases page, of course.

DISCLAIMER: I am the author.

You can fetch a tarball of any tag like so:

https://github.com/visionmedia/express/tarball/2.5.4

There are a few utilities to do what you need.

github_upload (Ruby) : https://github.com/github/upload
App::gh (Perl) : https://metacpan.org/module/App::gh::Command::Upload

Take your pick :)

Check out the GitHub Downloads section - no need for git at all to download files from there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top