Changed ugly git reset --hard to git checkout -B

This commit is contained in:
Snaipe 2015-08-20 06:30:23 +02:00
parent 054bd4ebea
commit 5f8fcbc56b

View file

@ -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