Skip to content
Snippets Groups Projects
Commit 7b079c8b authored by Dzianis Bartashevich's avatar Dzianis Bartashevich
Browse files

git tag implementation

parent de96f540
No related branches found
No related tags found
No related merge requests found
...@@ -27,21 +27,30 @@ before_script: ...@@ -27,21 +27,30 @@ before_script:
stages: stages:
- pages - pages
- deploy
pages: pages:
tags: tags:
- docker-executor - docker-executor
stage: pages stage: pages
variables:
TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD
script: script:
- make test - make test
- ls -la - ls -la
- mv build public - mv build public
- mv public/lmcbaseclasses_htmlcov/* public - mv public/lmcbaseclasses_htmlcov/* public
- make push - make push
- twine upload --repository-url $PYPI_REPOSITORY_URL dist_test/*
artifacts: artifacts:
paths: paths:
- public - public
registry_deploy:
tags:
- docker-executor
stage: deploy
variables:
TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD
script:
- twine upload --repository-url $PYPI_REPOSITORY_URL dist_test/*
only:
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment