mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
9158e82104
Version should be changed in AssemblyInfo.cs.in and AssemblyInfo.cs.template. git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1147 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
24 lines
489 B
Batchfile
24 lines
489 B
Batchfile
@ECHO OFF
|
|
SETLOCAL
|
|
|
|
PUSHD %~dp0
|
|
|
|
SET "SUBWCREV=SubWCRev.exe"
|
|
|
|
"%SUBWCREV%" . "src\Properties\AssemblyInfo.cs.in" "src\Properties\AssemblyInfo.cs" -f
|
|
IF %ERRORLEVEL% NEQ 0 GOTO NoSubWCRev
|
|
|
|
GOTO END
|
|
|
|
:NoSubWCRev
|
|
ECHO. & ECHO SubWCRev, which is part of TortoiseSVN, wasn't found!
|
|
ECHO You should (re)install TortoiseSVN.
|
|
ECHO I'll use VERSION_REV=0 for now.
|
|
|
|
TYPE "src\Properties\AssemblyInfo.cs.template" > "src\Properties\AssemblyInfo.cs"
|
|
|
|
:END
|
|
POPD
|
|
ENDLOCAL
|
|
EXIT /B
|