From 17e937bcd03b5142340f22b3d11e48aea36fc67e Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 23 Mar 2018 16:49:34 -0700 Subject: [PATCH] git clone for clean src tar --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 76a5c99af..e39c9cd1a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -83,8 +83,8 @@ ( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true] ECHO Creating artifacts && ECHO %cd% && - make clean && - 7z a -ttar zstd-src.tar * && + git clone --depth 1 --branch %APPVEYOR_REPO_BRANCH% https://github.com/facebook/zstd" + 7z a -ttar zstd-src.tar zstd && lib\dll\example\build_package.bat && cd programs\ && make DEBUGFLAGS= clean zstd && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe && -- 2.47.2