Merge "Fix package description in announce mail"
This commit is contained in:
commit
6e43a6c3a5
@ -179,7 +179,7 @@ python -c "import importlib.metadata; print(importlib.metadata.metadata('${modif
|
|||||||
exit_code=$?
|
exit_code=$?
|
||||||
if [ ${exit_code} -eq 0 ] ; then
|
if [ ${exit_code} -eq 0 ] ; then
|
||||||
project_name=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Name'])")
|
project_name=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Name'])")
|
||||||
description=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Description'])")
|
description=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Summary'])")
|
||||||
else
|
else
|
||||||
# As a last resort, guess that the project name may be the same as that
|
# As a last resort, guess that the project name may be the same as that
|
||||||
# of the local working directory at the point this script is invoked.
|
# of the local working directory at the point this script is invoked.
|
||||||
|
Loading…
Reference in New Issue
Block a user