From 1e0a09f9a6bd6f1aaef559c2fa2e6e3b72de5735 Mon Sep 17 00:00:00 2001 From: Wim Looman Date: Mon, 29 Dec 2014 13:27:28 +1300 Subject: [PATCH] Use explicit refspecs --- Cargo.toml | 2 +- publish_docs.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e092961d..8b1d4ee3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "roaring" -version = "0.0.9" +version = "0.0.10" authors = ["Wim Looman "] description = "http://roaringbitmap.org for http://www.rust-lang.org" diff --git a/publish_docs.sh b/publish_docs.sh index 07cd4813..9c604bbe 100755 --- a/publish_docs.sh +++ b/publish_docs.sh @@ -7,7 +7,7 @@ TAG=${1:?'Must provide tag'} # Setup this repo to publish the docs git fetch origin gh-pages -git checkout gh-pages +git checkout -b gh-pages FETCH_HEAD # Move the built docs into versioned folder mv target/doc docs/$TAG @@ -23,4 +23,4 @@ git add index.html # Commit and push git commit -m "Add API docs for $TAG" -git push +git push origin gh-pages:gh-pages