Reputation: 91
It my GitHub Pages page for my project, the only download options are for the .zip
and the .tar.gz
files (the standard ones including "See this on GitHub"). I want to have a link to download another file (a .exe
file) without having to put it in my GitHub repository. How can I do this?
Upvotes: 1
Views: 937
Reputation: 137179
I'm not sure how GitHub Pages relates here (this likely depends on the theme you're using), but one good option for sharing pre-built versions of your software is to create a GitHub Release. This will prompt you to create a tag for the version of your source code you wish to release and let you upload additional files:
Optionally, to include binary files such as compiled programs in your release, drag and drop or select files manually in the binaries box.
This file won't be added to your Git repository. It's attached to the GitHub-specific Release, and it can then be downloaded from your repository's releases tab, just like source archives.
Upvotes: 1