Commit d757a159 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

TestPipeline: fix error (need to call python3)

parent f27924ac
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -136,8 +136,8 @@ linting:csp-lmc-common:
    - cat $TESTPIPRC  > /tmp/.pypirc
    - echo $CSP_TOKEN
    - echo $CI_API_V4_URL
    - python setup.py sdist bdist_wheel    
    - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*
    - python3 setup.py sdist bdist_wheel    
    - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*

.publish_python_release_common:
  extends: .publish_python_common