mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
54e704904c
This reverts commit cb59784eae
.
22 lines
567 B
Batchfile
22 lines
567 B
Batchfile
@ECHO OFF
|
|
SETLOCAL
|
|
|
|
PUSHD %~dp0
|
|
|
|
IF EXIST "src\UpdateAssemblyInfo\bin\Release\x86\UpdateAssemblyInfo.exe" (
|
|
"src\UpdateAssemblyInfo\bin\Release\x86\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs"
|
|
) ELSE (
|
|
"src\UpdateAssemblyInfo\bin\Debug\x86\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs"
|
|
)
|
|
IF %ERRORLEVEL% NEQ 0 GOTO SubError
|
|
|
|
|
|
:END
|
|
POPD
|
|
ENDLOCAL
|
|
EXIT /B
|
|
|
|
:SubError
|
|
ECHO Something went wrong when generating the revision number.
|
|
EXIT /B
|