The correct way to do a release is to use a git tag. Once you create the tag, GitHub creates a page which will allow you to upload a release tarball.