Skip to content
Snippets Groups Projects
Commit 578444e6 authored by Julian Rother's avatar Julian Rother
Browse files

Added pypi upload to .gitlab-ci.yml and updated description

parent 94c779b7
Branches
No related tags found
No related merge requests found
Pipeline #7011 failed
......@@ -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]+.*/'
......
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment