Skip to content

Commit

Permalink
build: Add config for semantic_release #242
Browse files Browse the repository at this point in the history
- Used so the tool can make a release via our CI
  • Loading branch information
MRichards99 committed Oct 29, 2021
1 parent 4358f68 commit ceef3be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ homepage = "https://github.com/ral-facilities/datagateway-api"
repository = "https://github.com/ral-facilities/datagateway-api"
authors = ["Matthew Richards <matthew.richards@stfc.ac.uk>"]

[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"
Expand Down

0 comments on commit ceef3be

Please sign in to comment.