Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
voltura committed Feb 18, 2024
1 parent 2e1fc6f commit 92e1fb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Release Handling/CreateRelease.bat
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SET "UPLOAD_URL="
:: Tools
:: ==========================
SET "SEVEN_ZIP_FULLPATH=C:\Program Files\7-Zip\7z.exe"
SET "MSBUILD_FULLPATH=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe"
SET "MSBUILD_FULLPATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe"
SET "FART=%SCRIPT_DIR%\..\Tools\fart.exe"
SET "CURL=C:\Program Files\curl-7.84.0_4-win64-mingw\bin\curl.exe"

Expand Down Expand Up @@ -228,8 +228,6 @@ GOTO :DO_VER_UPDATE
CALL :DISP_MSG "Updating version from '%CurrentAssemblyFileVersion%' to '%NewAssemblyFileVersion%'..." 0
"%FART%" -q "%SCRIPT_DIR%\..\Properties\AssemblyInfo.cs" %CurrentAssemblyFileVersion% %NewAssemblyFileVersion% >NUL
SET FART_RESULT=%ERRORLEVEL%
CALL :DISP_MSG "FART ERROR = '%ERRORLEVEL%'
PAUSE
IF "%FART_RESULT%" NEQ "2" CALL :ERROR_MESSAGE_EXIT "Failed to update version." 170
SET VERSION=%NewAssemblyFileVersion%
CALL :DISP_MSG "Version updated from '%CurrentAssemblyFileVersion%' to '%NewAssemblyFileVersion%'." 2
Expand Down

0 comments on commit 92e1fb2

Please sign in to comment.