Skip to content

Commit

Permalink
fix Windows nightly build uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioBL committed Apr 19, 2020
1 parent 414808f commit 947b69a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/appveyor/after_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ REM the code is used to generate MS version for both nightly and stable releases
SET MUSESCORE_VERSION=%MUSESCORE_VERSION_FULL%.%APPVEYOR_BUILD_NUMBER%

SET DEBUG_SYMS_FILE=musescore_win%TARGET_PROCESSOR_BITS%.sym
REM Add one of the directories containing msdia140.dll (x86 version), for dump_syms.exe
SET PATH=%PATH%;C:\Program Files\dotnet\sdk\3.1.200\TestHost\x86
@echo on
C:\MuseScore\breakpad_tools\dump_syms.exe %APPVEYOR_BUILD_FOLDER%\%BUILD_FOLDER%\main\RelWithDebInfo\MuseScore3.pdb > %DEBUG_SYMS_FILE%
C:\MuseScore\breakpad_tools\dump_syms.exe %APPVEYOR_BUILD_FOLDER%\msvc.build_%PLATFORM%\main\RelWithDebInfo\MuseScore3.pdb > %DEBUG_SYMS_FILE%
@echo off

:: Test MuseScore stability
Expand Down Expand Up @@ -117,8 +119,9 @@ type C:\MuseScore\update_win_nightly.xml
:UPLOAD
SET SSH_IDENTITY=C:\MuseScore\build\appveyor\resources\osuosl_nighlies_rsa_nopp
SET PATH=%OLD_PATH%
REM Remove OpenSSH from PATH, to force the use of msys64 ssh
SET PATH=%PATH:C:\Windows\System32\OpenSSH\;=%
IF DEFINED ENCRYPT_SECRET_SSH (
chmod 600 %SSH_IDENTITY%
scp -oStrictHostKeyChecking=no -C -i %SSH_IDENTITY% %ARTIFACT_NAME% musescore-nightlies@ftp-osl.osuosl.org:~/ftp/windows/
ssh -oStrictHostKeyChecking=no -i %SSH_IDENTITY% musescore-nightlies@ftp-osl.osuosl.org "cd ~/ftp/windows; ls MuseScoreNightly* -t | tail -n +41 | xargs rm -f"
rem create and upload index.html and RSS
Expand Down

0 comments on commit 947b69a

Please sign in to comment.