OSDN Git Service

Update build number gen to add curret rev + 1
authorLatif Khalifa <latifer@streamgrid.net>
Sun, 9 Aug 2009 15:07:16 +0000 (15:07 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Sun, 9 Aug 2009 15:07:16 +0000 (15:07 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@142 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/RadegastBuild.cs
Radegast/updatebuildnr.bat

index 2910265..7c50cf0 100644 (file)
@@ -1,5 +1,5 @@
 // Autogenerated: run updatebuildnr.bat/sh to update \r
 namespace Radegast \r
 { \r
-    public static class RadegastBuild { public static int CurrentRev = 138; } \r
+    public static class RadegastBuild { public static int CurrentRev = 142; } \r
 } \r
index 7571028..3bcfa43 100755 (executable)
@@ -1,6 +1,7 @@
 @echo off\r
 FOR /F "tokens=2 skip=4" %%G IN ('svn info --revision HEAD') DO ^\r
 IF NOT DEFINED REVISION SET REVISION=%%G\r
+set /a REVISION=%REVISION% + 1\r
 echo // Autogenerated: run updatebuildnr.bat/sh to update > RadegastBuild.cs\r
 echo namespace Radegast >> RadegastBuild.cs\r
 echo { >> RadegastBuild.cs\r