For some programming languages, it makes sense to bundle your application as a single binary file that can be downloaded by someone. So they don't have to compile it themselves or install all the dev dependencies.
For example, a compiled binary executable (made with C, Rust or Go). Or a zipped archive of a package that contains only files needed for installing and running the package.
What is your approach to distributing your binary file and why?
Some more specific prompts:
- Do add your binary to version control?
- Do build a release locally and attach it to a GH release?
- Do you use a CI tool to accomplish either of the above? It is more maintainable to use an Action on GH Actions, or to just write a few steps by hand?
Cover image by @mathyaskurmann on Unsplash.