source: branches/eraser6/UpdateVersions.bat @ 1075

Revision 1075, 523 bytes checked in by lowjoel, 5 years ago (diff)

Automatically version the assemblies' revision number based on the SVN revision number.

Line 
1@echo off
2rem Replace all template version placeholders in the given template file for keywords.
3
4if not exist "%ProgramFiles%\TortoiseSVN\bin\SubWCRev.exe" goto searchWoWProgramFiles
5"%ProgramFiles%\TortoiseSVN\bin\SubWCRev.exe" %1 %2 %3 -f
6if ERRORLEVEL 1 (
7    goto noSubWCRev
8)
9goto end
10
11:searchWoWProgramFiles
12
13"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" %1 %2 %3 -f
14if ERRORLEVEL 1 (
15    goto noSubWCRev
16)
17
18goto end
19
20:noSubWCRev
21echo No TortoiseSVN-Client (SubWCRev.exe) detected!
22exit /b 1
23
24:end
Note: See TracBrowser for help on using the repository browser.