I have a build script that I use to produce my install files. To keep the internal version subversion numbers in sync, I append a blank line to the end of the script files, then do another check-in to bump the version number in all the files to the same value. I then use this value in the script like this:
REVISION="$Rev: 58 $"
Is there a cleaner way rather than adding the blank line? I tried using “touch” but Subversion reference see the timestamp change.
One alternative is for your script to run
svnversionand dump the output of that to the file, so that the contents of the file will genuinely change every time. Or you could try just touching your file then committing with the-fflag to force the commit