summaryrefslogtreecommitdiff
path: root/tools/build_scripts/bin10/svn_update.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_scripts/bin10/svn_update.bat')
-rw-r--r--tools/build_scripts/bin10/svn_update.bat21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/build_scripts/bin10/svn_update.bat b/tools/build_scripts/bin10/svn_update.bat
new file mode 100644
index 0000000000..a6090591a4
--- /dev/null
+++ b/tools/build_scripts/bin10/svn_update.bat
@@ -0,0 +1,21 @@
+pushd ..
+
+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
+
+popd \ No newline at end of file