Add cache busting to Makefile
when making dist
target append a hash (git tag/commit) to the JavaScript file and CSS file so we can set caching headers on reproducible.archlinux.org.
-
Change the makefile to generate bundle.$hash.js -
Sed the "bundle.js" to "bundle.$hash.js" in the HTML file.