Skip to content

Commit

Permalink
Merge pull request #4451 from brettfo/assembly-version-check
Browse files Browse the repository at this point in the history
Only check assembly versions when appropriate tools are built.
  • Loading branch information
brettfo authored Mar 6, 2018
2 parents 9e7a610 + a044057 commit f21648e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,11 @@ if "%BUILD_PHASE%" == "1" (
echo ---------------- Done with build, starting assembly version checks ---------------
set asmvercheckpath=%~dp0tests\fsharpqa\testenv\src\AssemblyVersionCheck

echo "%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
"%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
if ERRORLEVEL 1 echo Error verifying assembly versions and commit hashes. && goto :failure
if "%BUILD_NET40%" == "1" (
echo "%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
"%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
if ERRORLEVEL 1 echo Error verifying assembly versions and commit hashes. && goto :failure
)

echo ---------------- Done with assembly version checks, starting assembly signing ---------------

Expand Down

0 comments on commit f21648e

Please sign in to comment.