mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04: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:
parent
57a8eae289
commit
f31f637a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue