From 1c256e1e64b2877fd63c4d3afe7e500fb6e173e2 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 24 May 2013 19:35:47 -0700 Subject: [PATCH] Updated release script for new templates --- bin/release.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/bin/release.sh b/bin/release.sh index 2e8103e..d077cf6 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -27,9 +27,20 @@ if [ -n "$(git status --porcelain)" ]; then exit 1 fi -cp ../README.md _includes/README.md apigen --quiet --download --title "GeoIP2 PHP API $TAG" --source ../src --destination doc/$TAG -echo $TAG > _includes/version + +PAGE=.gh-pages/index.md +cat < $PAGE +--- +layout: default +title: MaxMind GeoIP2 PHP API +language: php +version: $TAG +--- + +EOF + +cat README.md >> $PAGE git add doc/ git commit -m "Updated for $TAG" -a