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

comment release

parent e1a53e1a
No related branches found
No related tags found
No related merge requests found
...@@ -52,8 +52,7 @@ Bump_release: ...@@ -52,8 +52,7 @@ Bump_release:
script: script:
- git config --global user.email ${GITLAB_USER_EMAIL} - git config --global user.email ${GITLAB_USER_EMAIL}
- git config --global user.name ${GITLAB_USER_NAME} - git config --global user.name ${GITLAB_USER_NAME}
- git pull origin HEAD:MASTER && poetry version ${BUMP_RULE} && git add poetry.lock add pyproject.toml poetry.lock && git commit -m "Bump version" && git push -o ci.skip origin HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD} # - git pull origin HEAD:MASTER && poetry version ${BUMP_RULE} && git add poetry.lock add pyproject.toml poetry.lock && git commit -m "Bump version" && git push -o ci.skip origin HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD}
- echo "TRIGGER_PYPI_NAME=$(cat pyproject.toml | grep '^name =' | head -n 1 | cut -f3 -d' ' | tr -d \")" >> build.env - echo "TRIGGER_PYPI_NAME=$(cat pyproject.toml | grep '^name =' | head -n 1 | cut -f3 -d' ' | tr -d \")" >> build.env
- echo "Exporting TRIGGER_PYPI_NAME as ${TRIGGER_PYPI_NAME}" - echo "Exporting TRIGGER_PYPI_NAME as ${TRIGGER_PYPI_NAME}"
only: only:
......
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