As you may know, browsers will cache the old JS and CSS files, instead of updating them, as we upload our new version of the project into the server. This leads to errors on the client-side, forcing them to hard-refresh the browser.
A way to overcome this problem is for instance adding ?[version] at the end of the file as we call it:
<script type="text/javascript" src="myfile.js?1500"></script>
Is there a way to do it automatically with SourceTree, after a commit or a tag realease? For example:
<script type="text/javascript" src="myfile.js?$$REVISION$$"></script>
Thank you in advance