diff --git a/Jenkinsfile b/Jenkinsfile index 102c075..264366e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -175,8 +175,7 @@ pipeline { |__EOWRAPPER__ """.stripMargin()) - // using setuptools_git_versioning to get the generated version number based on Git tags and logs - // TODO: read dev_template from toml + // get current (or bumped) version number from git history PY_PROJECT_VERSION = sh(script: """#!/bin/sh - |. ~/TOOLS_ENV/bin/activate |exec python - << '__EOWRAPPER__' diff --git a/pyproject.toml b/pyproject.toml index fb3f01f..3626904 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,7 @@ classifiers = [ ] dependencies = [ 'importlib-metadata; python_version<"3.9"', + 'packaging' ] dynamic = ["version"]