diff --git a/.drone.yml b/.drone.yml index 79568cf..b7de5ba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,6 +44,18 @@ steps: commands: - .venv/bin/pre-commit run --all-files --color always +- name: deploy + pull: true + image: git.roboces.dev/catalin/poetry:beta + commands: + - poetry build + - poetry config repositories.roboces https://git.roboces.dev/api/packages/catalin/pypi + - poery config http-basic.roboces "$REGISTRY_USERNAME" "$REGISTRY_PASSWORD" + - poetry publish --repository roboces + when: + ref: + - refs/tags/v* + - name: rebuild cache image: meltwater/drone-cache pull: true diff --git a/pyproject.toml b/pyproject.toml index 0009ce8..9d3927e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "halig" -version = "0.1.0" +version = "0.1.1" description = "" authors = ["cătălin "] readme = "README.md"