Skip to content
Snippets Groups Projects
Commit dceb52c9 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

update remote-set-url

parent 5f3c66c8
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ Python Code Lint: ...@@ -25,6 +25,7 @@ Python Code Lint:
Static Type: Static Type:
stage: check stage: check
allow_failure: true
script: script:
- mypy . --exclude 'setup\.py$' - mypy . --exclude 'setup\.py$'
# We can remove the flag once this is resolved https://github.com/pypa/setuptools/issues/2345 # We can remove the flag once this is resolved https://github.com/pypa/setuptools/issues/2345
...@@ -37,6 +38,7 @@ Publish to pypi and update repository: ...@@ -37,6 +38,7 @@ Publish to pypi and update repository:
- git config --global user.name ${GITLAB_USER_NAME} - git config --global user.name ${GITLAB_USER_NAME}
- git add pyproject.toml - git add pyproject.toml
- git commit -m "Bump version" - git commit -m "Bump version"
- git remote add local https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git && git push -o ci.skip local HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD} - git remote set-url origin https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git
- git push -o ci.skip origin HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD}
only: only:
- master - master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment