Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I am creating an installer for my application that relies on downloading my GitHub repository as a zip file. However, I noticed that GitHub is not packaging the correct version of several files into the zip. When I download this file from the file tree, I get the correct version (506 KB). However, when I download the repository, the file has a different size (514 KB).

This issue is causing my installation to fail. What should I do?

share|improve this question
    
IDK why that's happening (caching maybe?), but it's generally considered bad practice to store compiled binaries in with the source version control. Perhaps you should consider using the releases feature. – Alexander O'Mara 1 hour ago
    
I'm aware that it is bad practice, but I've weighed the tradeoffs and decided to go this route. Binaries or not, the most recent files should be included in the zip. I'm trying to keep my installer as small as possible, which is why I've not used releases. – Joel Christophel 1 hour ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.