tsquillario / Jamstash

HTML5 Music Streamer for Subsonic
http://jamstash.com
270 stars 88 forks source link

Utilize GitHub's release functionality (and simplify dist folder management) #247

Closed pR0Ps closed 4 years ago

pR0Ps commented 6 years ago

Generally, including build artifacts for every commit is frowned upon. Having the dist folder always be completely blown away and rewritten on every commit makes resolving merge conflicts between branches and rebasing much more difficult, as well as bloating the size of the repository. To help with this, the project could make use of GitHub's releases functionality.

Proposal 1 below is closer to the current process, while proposal 2 is a more radical change. Personally, I feel that proposal 2 is better from both a dev and user perspective, but both would be an improvement on the current system.

Results from adopting either proposal

Proposal 1 - Only update the dist folder on version bumps:

Results (relative to proposal 2):

Proposal 2 - Totally remove dist from the repo and provide it via the release functionality instead:

Results (relative to proposal 1):

Resources:

pR0Ps commented 4 years ago

Fixed by #255