Be agnostic about whether the tree has a dev/nondev version in it

(though it should always be dev, I think)
This commit is contained in:
Peter Eckersley 2015-12-11 14:45:53 -08:00
parent 57a8eae289
commit f31f637a8e

View file

@ -20,7 +20,7 @@ CheckVersion() {
fi
}
version=`grep "__version__" letsencrypt/__init__.py | cut -d\' -f2`
version=`grep "__version__" letsencrypt/__init__.py | cut -d\' -f2 | sed s/\.dev0//`
if [ "$1" = "--production" ] ; then
echo Releasing production version "$version"...
CheckVersion Version "$version"