I’m looking adding Subversion’s revision number to the name of each .js file we include, so whenever the .js file is updated, the browsers will automatically fetch the new version. I believe Stackoverflow does this, but I wonder how. Is this part of the release procedure? Any hints on how to achieve this using Subversion tools?
Share
There is no standard way to have Subversion add the revision to the file name. Use a build tool (for example, ant) and a custom target for this.