From cb59784eae1dff1e040ca3cd804ef7216ecbc63b Mon Sep 17 00:00:00 2001 From: niksedk Date: Sun, 15 Jun 2014 20:56:40 +0200 Subject: [PATCH] Fixed update rev --- .gitignore | 1 + update_rev.bat | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 622e48c29..a78c0d9fd 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /src/Languages/XmlContentTranslator.exe /src/TestResults /src/SubtitleEdit.csproj.DotSettings +/src/Test/Test.csproj.user diff --git a/update_rev.bat b/update_rev.bat index 5049d282a..bf2854789 100644 --- a/update_rev.bat +++ b/update_rev.bat @@ -3,10 +3,10 @@ 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" +IF EXIST "src\UpdateAssemblyInfo\bin\Release\x64\UpdateAssemblyInfo.exe" ( + "src\UpdateAssemblyInfo\bin\Release\x64\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" + "src\UpdateAssemblyInfo\bin\Debug\x64\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" ) IF %ERRORLEVEL% NEQ 0 GOTO SubError