fixing bugs with ci pipeline
This commit is contained in:
@ -57,8 +57,10 @@ release:
|
||||
when: manual
|
||||
variables:
|
||||
TWINE_USERNAME: gitlab-ci-token # Keep username same
|
||||
TWINE_PASSWORD: $CI_JOB_TOKEN # Use PAT stored in GitLab CI/CD Variables
|
||||
TWINE_PASSWORD: $CI_JOB_TOKEN # Use PAT stored in GitLab CI/CD Variables
|
||||
script:
|
||||
- pip install build twine # Install dependencies
|
||||
- python -m build # Build the package
|
||||
- cd backend/python-client # Navigate to the folder where the package was generated
|
||||
- python3 -m venv .venv
|
||||
- source .venv/bin/activate
|
||||
- pip install -U pip twine
|
||||
- twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
|
Reference in New Issue
Block a user