Skip to content

Commit 22b5ece

Browse files
committed
Reset branch befre checkout
1 parent 7d91306 commit 22b5ece

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/deploy.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ chmod 755 box.phar
2525
# Without the following step, we cannot checkout the gh-pages branch due to
2626
# file conflicts:
2727
mv jose.phar jose.phar.tmp
28-
rm box.phar
29-
rm -rf vendor
28+
reset --hard HEAD
3029

3130
# Checkout gh-pages and add PHAR file and version:
3231
git checkout -b gh-pages deploy/gh-pages

0 commit comments

Comments
 (0)