I use git-flow in my development job.
I use gulp for automating production build(css,js concat, minify).
Normally when I finish a release develop, i do production build on that develop branch, the index.html will be injected with a production.css and production.js(minified version) in replace of all the js/css files linked in it.
Then I do a merge in master with develop to involve the production version for deployment.
But what I want to optimize is: I am annoyed when finishing above job, the develop branch will have a non-meaningful commit of production.js,production.css injected into the index.html. Normally i just use the develop version of the index.html(which will have all single js,css files injected into the index.html) for develop, i do not want that change here everytime I do a deployment.
How to work around that?
Thanks a lot for any proposal.