2012-04-28 17:18:49 +02:00
|
|
|
@ECHO OFF
|
|
|
|
SETLOCAL
|
|
|
|
|
|
|
|
PUSHD %~dp0
|
|
|
|
|
2014-03-04 18:11:14 +01:00
|
|
|
IF EXIST "src\UpdateAssemblyInfo\bin\Release\UpdateAssemblyInfo.exe" (
|
|
|
|
"src\UpdateAssemblyInfo\bin\Release\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs"
|
|
|
|
) ELSE (
|
|
|
|
"src\UpdateAssemblyInfo\bin\Debug\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs"
|
2014-03-04 07:58:56 +01:00
|
|
|
)
|
2012-05-11 10:07:38 +02:00
|
|
|
IF %ERRORLEVEL% NEQ 0 GOTO SubError
|
2012-04-28 17:18:49 +02:00
|
|
|
|
|
|
|
|
2012-05-11 10:07:38 +02:00
|
|
|
:END
|
|
|
|
POPD
|
|
|
|
ENDLOCAL
|
|
|
|
EXIT /B
|
|
|
|
|
|
|
|
:SubError
|
|
|
|
ECHO Something went wrong when generating the revision number.
|
2014-02-03 19:44:32 +01:00
|
|
|
EXIT /B
|