Commits

Ian Bicking committed 4fd9703

build updates, set version to 0.3.1dev

Comments (0)

Files changed (3)

 recursive-include docs *.txt
 recursive-include docs *.html
-prune docs/_build *.txt
-prune docs/_build/_sources *.txt
-prune docs/_build _sources
+prune docs/_build/*.txt
+prune docs/_build/_sources/*.txt
+prune docs/_build/_sources
 #!/bin/sh
 
+CMD="$1"
+if [ "$CMD" = "release" ] ; then
+  python -c 'import setuptools; __file__="setup.py"; execfile(__file__)' register sdist upload
+  CMD="publish"
+fi
+
 mkdir -p docs/_static docs/_build
 sphinx-build -E -b html docs/ docs/_build || exit 1
-if [ "$1" = "publish" ] ; then
+if [ "$CMD" = "publish" ] ; then
   cd docs/_build
   echo "Uploading files..."
   tar czvf - . | ssh flow.openplans.org 'ssh acura.openplans.org "cd /www/pip.openplans.org/; tar xzvf -"'
 [egg_info]
-#tag_build = dev
+tag_build = dev