Changed ugly git reset --hard to git checkout -B
This commit is contained in:
parent
054bd4ebea
commit
5f8fcbc56b
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue