From ecd26c03082f52a4a66563b2889f2ef2428a0ad2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Jul 2017 19:21:28 +0100 Subject: [PATCH] Pull rather than fetch --- publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.sh b/publish.sh index 838081ab..1480f4c6 100755 --- a/publish.sh +++ b/publish.sh @@ -12,8 +12,8 @@ BUILD_DIR=".build" mkdir -p $BUILD_DIR pushd $BUILD_DIR cp -R ../.git . -git fetch git checkout master || git checkout --orphan master +git pull popd rm -rf ${BUILD_DIR}/**/* || exit 0