Skip to content
Snippets Groups Projects
Commit e9726d1d authored by istmxrein's avatar istmxrein
Browse files

upload packages to artifact server

parent c06f90a9
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,11 @@ run:
script:
- pip install build twine
- python setup.py sdist bdist_wheel
- ls -al
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- |
for file in pilab-*; do
if [[ -f "$file" ]]; then
curl -L --fail -T $file "https://artifact.pi-lab.users.h-da.cloud/files/" -u ${ARTIFACT_SERVER_TOKEN}
fi
done
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='pilab',
version='3.5.2',
version='3.5.3',
description='Shared-Libs for the pi-lab microservices',
url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab',
author='Max Reinheimer',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment