diff --git a/README.rst b/README.rst
index 7943a31..fea8e0a 100644
--- a/README.rst
+++ b/README.rst
@@ -6,13 +6,13 @@ rasterstats
``rasterstats`` is a Python module for summarizing geospatial raster datasets based on vector geometries.
It includes functions for **zonal statistics** and interpolated **point queries**. The command-line interface allows for
-easy interoperability with other GeoJSON tools.
+easy interoperability with other GeoJSON tools.
Documentation
-------------
For details on installation and usage, visit the documentation at `http://pythonhosted.org/rasterstats `_.
-What does it do?
+What does it do?
----------------
Given a vector layer and a raster band, calculate the summary statistics of each vector geometry.
For example, with a polygon vector layer and a digital elevation model (DEM) raster, compute the
@@ -25,19 +25,19 @@ mean elevation of each polygon.
Command Line Quick Start
------------------------
-The command line interfaces to zonalstats and point_query
+The command line interfaces to zonalstats and point_query
are `rio` subcommands which read and write geojson features
.. code-block:: bash
- $ fio cat polygon.shp | rio zonalstats -r elevation.tif
+ $ fio cat polygon.shp | rio zonalstats -r elevation.tif
$ fio cat points.shp | rio pointquery -r elevation.tif
See the `CLI Docs `_. for more detail.
Python Quick Start
------------
+------------------
For zonal statistics
diff --git a/scripts/release.sh b/scripts/release.sh
index 4fc1512..8df19d4 100644
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -1,4 +1,11 @@
+#!/bin/bash
+
python setup.py sdist --formats=gztar,zip bdist_wheel
+# Redirect any warnings and check for failures
+if [[ -n $(twine check dist/* 2>/dev/null | grep "Failed") ]]; then
+ echo "Detected invalid markup, exiting!"
+ exit 1
+fi
twine upload dist/*
echo "Don't forget to publish the docs..."