From 9ec707e3f5e9c7e9eabdf9ef9d0257a409895c8a Mon Sep 17 00:00:00 2001 From: zeffy Date: Fri, 8 Sep 2017 03:16:49 -0700 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d15e923..4878844 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,16 +4,19 @@ skip_commits: - '**/*.md' - '**/*.aip' image: Visual Studio 2017 -environment: - BUILD_VERSION: '%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_COMMIT:~0,8%' - BUILD_VERSION_COMMA_SEP: '%APPVEYOR_BUILD_VERSION:.=,%' - BUILD_ZIPFILE: '%APPVEYOR_BUILD_FOLDER%\%APPVEYOR_PROJECT_NAME%_v%BUILD_VERSION%_%PLATFORM%.zip' configuration: Release platform: - x86 - x64 build: verbosity: minimal +before_build: +- cmd: >- + set "BUILD_VERSION=%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_COMMIT:~0,8%" + + set "BUILD_VERSION_COMMA_SEP=%APPVEYOR_BUILD_VERSION:.=,%" + + set "BUILD_ZIPFILE=%APPVEYOR_BUILD_FOLDER%\%APPVEYOR_PROJECT_NAME%_v%BUILD_VERSION%_%PLATFORM%.zip" after_build: - cmd: >- copy /Y "wufuc\bin\%CONFIGURATION%\%PLATFORM%\wufuc*.dll" "setup-batch\"