From aeaf259c5982e4a36ed766d82976ac8ba5adbcc9 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 18 Apr 2017 08:57:35 +0100 Subject: [PATCH] Upload PDB files to CrashFix --- build_release_windows.bat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build_release_windows.bat b/build_release_windows.bat index 53567fd..fa72c72 100755 --- a/build_release_windows.bat +++ b/build_release_windows.bat @@ -75,9 +75,10 @@ subst X: %WORKSPACE%. REM ensure output dir is clean since we upload the entirety of it rmdir /S /Q output -REM archiving PDB files -copy %WORKSPACE%\build-fg32\src\Main\RelWithDebInfo\fgfs.pdb %WORKSPACE%\Output\fgfs-x86-%BUILD_NUMBER%.pdb -copy %WORKSPACE%\build-fg64\src\Main\RelWithDebInfo\fgfs.pdb %WORKSPACE%\Output\fgfs-x64-%BUILD_NUMBER%.pdb +SET CRASHFIX_UPLOAD_URL=http://crashes.flightgear.org/index.php/debugInfo/uploadExternal +SET FGFS_PDB=src\Main\RelWithDebInfo\fgfs.pdb +ECHO Uploading PDB files to %CRASHFIX_UPLOAD_URL% +upload -v -u %CRASHFIX_UPLOAD_URL% FlightGear %WORKSPACE%\build-fg32\%FGFS_PDB% %WORKSPACE%\build-fg64\%FGFS_PDB% REM indirect way to get command output into an environment variable set PATH=%OSG32%\bin;%PATH%