diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d47076d8719d6b2db8709f2b9cf591428c8ba910..2503efe6158ef54ab2c96a0ad01f172af4cdec5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,7 +52,8 @@ publish-pip: script: - pip install build twine - PACKAGE_VERSION="${CI_COMMIT_TAG#v}" python -m build - - python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* + - TWINE_USERNAME="${GITLABPKGS_USERNAME}" TWINE_PASSWORD=="${GITLABPKGS_PASSWORD}" python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* + - TWINE_USERNAME="${PYPI_USERNAME}" TWINE_PASSWORD=="${PYPI_PASSWORD}" python -m twine upload dist/* rules: - if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/' diff --git a/setup.py b/setup.py index 3c83100789a2dd2bdbba4ef77a13fb804eb4d888..9d22c887ade7ac0465338e5f16bc8bdf0b13f606 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setuptools.setup( version=os.environ.get('PACKAGE_VERSION', 'local'), author='Julian Rother', author_email='python-ldapserver@jrother.eu', - description='LDAP server request handler', + description='Library to implement special-purpose LDAP servers', long_description=long_description, long_description_content_type='text/markdown', url='https://git.cccv.de/uffd/python-ldapserver',