po_with="99"
my_address="${DEBEMAIL:-frank.brehm@pixelpark.com}"
-pkg_version=$( grep -E '^\s*__version__' lib/pp_admintools/global_version.py | sed -e 's/.*=[ ]*//' -e "s/'//g" )
+pkg_version=$( grep -E '^\s*__version__' lib/pp_admintools/__init__.py | sed -e 's/.*=[ ]*//' -e "s/'//g" )
echo "Package-Version: '${pkg_version}'"
pybabel extract bin/* lib \
fi
# Updating project version
- sed -i -e "s/^\(\"Project-Id-Version:[ ][ ]*[^ ][^ ]*[ ][ ]*\)[^ \\][^ \\]*/\1${pkg_version}/i" "${po_file}"
+ sed -i -e "s/^\(\"Project-Id-Version:[ ][ ]*[^ ][^ ]*[ ][ ]*\)[^ \\]*/\1${pkg_version}/i" "${po_file}"
done