From ceef3bebeb0573b646f44322347e3afede7c617e Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Fri, 29 Oct 2021 13:31:04 +0000 Subject: [PATCH] build: Add config for `semantic_release` #242 - Used so the tool can make a release via our CI --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9a954592..0c8889b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,15 @@ homepage = "https://github.com/ral-facilities/datagateway-api" repository = "https://github.com/ral-facilities/datagateway-api" authors = ["Matthew Richards "] +[tool.semantic_release] +version_toml = [ + "pyproject.toml:tool.poetry.version" +] +branch = "master" +upload_to_pypi = false +upload_to_release = true +build_command = "pip install poetry==1.1.9 && poetry build" + [tool.poetry.dependencies] python = "^3.6" Flask-RESTful = "^0.3.7"