diff --git a/.circleci/config.yml b/.circleci/config.yml index b675751..9015d97 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,6 +40,14 @@ jobs: pkg-manager: poetry - run: poetry run pytest --version + deploy: + docker: + - image: "circleci/python:3.8" + steps: + - checkout + - run: poetry build + - run: poetry publish -u specklesystems -p $PYPI_PASSWORD + workflows: main: jobs: @@ -47,3 +55,12 @@ workflows: matrix: parameters: tag: ["3.6", "3.7", "3.8", "3.9"] + + publish: + jobs: + - deploy: + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ + branches: + ignore: /.*/ # For testing only! /ci\/.*/ diff --git a/pyproject.toml b/pyproject.toml index 04332d6..6c90d0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "specklepy" -version = "2.0.0" +version = "2.1.0" description = "The Python SDK for Speckle 2.0" readme = "README.md" authors = ["Speckle Systems "]