Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Windows nightly build uploads #5968

Merged
merged 1 commit into from
Apr 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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% [email protected]:~/ftp/windows/
ssh -oStrictHostKeyChecking=no -i %SSH_IDENTITY% [email protected] "cd ~/ftp/windows; ls MuseScoreNightly* -t | tail -n +41 | xargs rm -f"
rem create and upload index.html and RSS
Expand Down