Correct package name used in version info

pbr uses importlib_metadata which uses distribution package name
(python-jenkins) to get version.
The old wrong code will get version of https://pypi.org/project/jenkins,
or generate a wrong version in packaing if not in the python-jenkins Git
repo.

Change-Id: I37e1c0e5e3b6aea249333e24001c58f47e81a83e
This commit is contained in:
Jax Young
2024-09-06 10:56:48 +08:00
parent 2f30bcf202
commit 8e08c8602d

View File

@@ -17,4 +17,4 @@
import pbr.version
version_info = pbr.version.VersionInfo('jenkins')
version_info = pbr.version.VersionInfo('python-jenkins')