From 5f8fcbc56b79895dd4c1f4f190b1f1dace0357c8 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Thu, 20 Aug 2015 06:30:23 +0200 Subject: [PATCH] Changed ugly git reset --hard to git checkout -B --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 666279c..ab04df5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,8 +26,7 @@ configuration: Release install: # Hack to make git think it is on the tip of the repo branch - - 'git checkout %APPVEYOR_REPO_BRANCH%' - - 'git reset --hard %APPVEYOR_REPO_COMMIT%' + - 'git checkout -B %APPVEYOR_REPO_BRANCH%' # Install libcsptr - 'bash -lc "cd $APPVEYOR_BUILD_FOLDER; .ci/install-libcsptr.sh -G \"MSYS Makefiles\"; true"' # We need to manually make since the above command somehow crashes