aboutsummaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
authorGravatar Chin <chin.bimbo@gmail.com>2015-01-24 10:45:06 -0500
committerGravatar Chin <chin.bimbo@gmail.com>2015-01-24 12:36:49 -0500
commita4a1ce766d9ac0284e4bb28a1c3f7f0f3d1a6204 (patch)
tree97e44054401215563fad0555ac07d43ce6f80942 /appveyor.yml
parent9121a5db1a23b2c8943597f68b282773b5c4070a (diff)
AppVeyor: Sanitize the file name before uploading
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 8e7bacd6..7c985b94 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,9 +6,11 @@ clone_depth: 1
environment:
QTDIR: C:\Qt\5.4\msvc2013_opengl
+ MEGA_EMAIL:
+ secure: dLyH/46MKKuCZyozkwwVGCL7nVyX+Cxyo1hVlCUaQDU=
MEGA_PASSWORD:
secure: ozgp54EZj98kcbD/O+Xl5Q==
-
+
platform:
- Win32
@@ -23,7 +25,7 @@ before_build:
- cd build
- cmake ..
- cd ..
-
+
after_build:
# upload the build to Mega
- cinst wget -x86
@@ -38,12 +40,9 @@ after_build:
- copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5Gui.dll build\bin\release
- copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5OpenGL.dll build\bin\release
- copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5Widgets.dll build\bin\release
- # delete build craps
- - del /F /S /Q /A "build\bin\release\*.ilk"
- - del /F /S /Q /A "build\bin\release\*.pdb"
# zip up the build folder -> build.7z
- 7z a build .\build\bin\release\*
# rename, upload to Mega
+ - npm install sanitize-filename
- cd megatools-1.9.94-win64
- node ..\upload_to_mega.js
-