summaryrefslogtreecommitdiff
path: root/tools/build_scripts/svn_update.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_scripts/svn_update.bat')
-rw-r--r--tools/build_scripts/svn_update.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/build_scripts/svn_update.bat b/tools/build_scripts/svn_update.bat
new file mode 100644
index 0000000000..4f94fee62b
--- /dev/null
+++ b/tools/build_scripts/svn_update.bat
@@ -0,0 +1,19 @@
+rem del /F /Q version.txt
+
+svn cleanup
+
+svn update > update.log
+
+cd build
+
+for /F %%g in ('svnversion build.no') do set Revision=%%g
+
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+
+cd ..
+
+rem echo v%MirVer%_%Revision% > version.txt
+
+rem svn log -l 30 >> version.txt
+
+echo %date% %time% > timestamp.chk \ No newline at end of file