Commit c25b8186 authored by Federico Falconieri's avatar Federico Falconieri Committed by Ruben ten Hove
Browse files

fix: default TWINE_USERNAME should be set to gitlab-ci-token

parent 676c0db9
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -2,13 +2,14 @@
include:
  - local: python/generic.yml

python:twine:
  extends: .python:pre
  stage: .post
variables:
    TWINE_USERNAME: ${CI_REGISTRY_USER}
  TWINE_USERNAME: gitlab-ci-token
  TWINE_PASSWORD: ${CI_JOB_TOKEN}
  TWINE_REGISTRY: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi

python:twine:
  extends: .python:pre
  stage: .post
  script:
    - pip3 install twine build
    - python3 -m build