Skip to content

Commit

Permalink
Makefile, release-% target: Try not to break when there's not already…
Browse files Browse the repository at this point in the history
… a local branch called 'site-build'.
  • Loading branch information
papandreou committed Mar 6, 2015
1 parent e43baa6 commit 3b97f8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -44,7 +44,8 @@ endif

.PHONY: deploy-site
deploy-site: git-dirty-check site-build
git checkout site-build
git fetch origin site-build
git checkout -B site-build origin/site-build
rm `git ls-files | grep -v '^\.gitignore$$'`
cp -r site-build/* .
if [ "`git status --porcelain`" != "" ]; then \
Expand Down

0 comments on commit 3b97f8f

Please sign in to comment.