mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user