I'm wondering what's the way to go for it and I was not able to find anything about it. (Maybe I didn't use the right terms?)
Lets say I have a project with a main JS file and a CSS one and their respective minified version. They usually have some credits in the top stating the licence and the version of the library like in Bootstrap:
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
- Should I have the same version number for all the files within the application?
- Or a different version number per file?
In case of having a group one. Does it make sense to commit a new version of every file when only the .js files have changed?
In case I have a different version per file it can lead to confusions for the developers using the library, as it can be announced as "Project v2.6.4" and you can find the CSS file with an older version such as "v.2.1.2".