From 8dc641134788e98eeaed7e0c5c0f41caa686546e Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 25 Aug 2016 08:16:08 +0200 Subject: [PATCH] Appveyor. --- .appveyor.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 57fe8a421..4e83f3ad2 100755 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -8,7 +8,9 @@ environment: QTDIR: 'C:\Qt\5.7\msvc2013' QMAKESPEC: win32-msvc2013 COMPILERBAT: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86' - + access_token: + secure: AdDF6ALWBJTln9VNrk6ghfnmiSa120+5PEyGCFvG9IWNBmvWbPmaIpJu0DBdZ1nj + build_script: - git submodule update --init --recursive - set "QT_PLUGIN_PATH=%QTDIR%\plugins" @@ -20,4 +22,16 @@ build_script: - cd rssguard-build - C:\Qt\5.7\msvc2013\bin\qmake.exe C:\rssguard - nmake - - nmake windows_all \ No newline at end of file + - nmake windows_all + +on_success: + - git config --global credential.helper store + - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n" + - git config --global user.email "rotter.martinos@gmail.com" + - git config --global user.name "martinrotter" + - git clone https://github.com/martinrotter/rssguard-builds.git + - copy /Y .\*.7z .\rssguard-builds + - cd rssguard-builds + - git add .\*.7z + - git commit -a -m 'New files.' + - git push origin master \ No newline at end of file