From 4bdc52aac64ba86e5bdb73435c4044965e0f6092 Mon Sep 17 00:00:00 2001 From: florencia Date: Mon, 24 Jan 2022 13:16:11 -0800 Subject: [PATCH] Update bag and try with Tom settings for semantic versioning --- README.md | 2 +- pyproject.toml | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 121ec95..31e49ef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## convertempPy -![](https://github.com/ttimbers/convertempPy/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/ttimbers/convertempPy/branch/master/graph/badge.svg)](https://codecov.io/gh/ttimbers/convertempPy) ![Release](https://github.com/ttimbers/convertempPy/workflows/Release/badge.svg) +![](https://github.com/ttimbers/convertempPy/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/ttimbers/convertempPy/branch/master/graph/badge.svg)](https://codecov.io/gh/ttimbers/convertempPy) ![ci-cd](https://github.com/ttimbers/convertempPy/actions/workflows/ci-cd.yml) [![Documentation Status](https://readthedocs.org/projects/convertemppy/badge/?version=latest)](https://convertemppy.readthedocs.io/en/latest/?badge=latest) diff --git a/pyproject.toml b/pyproject.toml index bc7d847..77dfea1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,11 +25,15 @@ flake8 = "^3.7.9" sphinx = "^2.4.3" sphinxcontrib-napoleon = "^0.7" + [tool.semantic_release] -version_variable = "convertempPy/__init__.py:__version__" -version_source = "commit" -upload_to_pypi = "false" -patch_without_tag = "true" +version_variable = "pyproject.toml:version" # version location +branch = "master" # branch to make releases of +changelog_file = "CHANGELOG.md" # changelog file +build_command = "pip install poetry && poetry build" # build dists +dist_path = "dist/" # where to put dists +upload_to_pypi = false # don't auto-upload to PyPI +remove_dist = false # don't remove dists [build-system] requires = ["poetry>=0.12"]