From 3f335859eb2cb00e3f011115fbe31151ea2f8f74 Mon Sep 17 00:00:00 2001 From: Niall Byrne <9848926+niall-byrne@users.noreply.github.com> Date: Thu, 2 Mar 2023 14:15:07 -0500 Subject: [PATCH] build(POETRY): use commitizen to bump --- pyproject.toml | 5 +++++ {{cookiecutter.project_slug}}/pyproject.toml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 466a274c..93abcef9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,11 @@ [tool] + [tool.commitizen] + bump_message = "bump(RELEASE): $current_version → $new_version" + version = "1.1.6" + version_files = ["pyproject.toml:version"] + [tool.poetry] authors = ["Niall Byrne "] description = "Ansible Role Development Environment." diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index 2d466daf..464a97d9 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -5,6 +5,11 @@ [tool] + [tool.commitizen] + bump_message = "bump(RELEASE): $current_version → $new_version" + version = "0.1.0" + version_files = ["pyproject.toml:version"] + [tool.poetry] authors = ["{{cookiecutter.author}} <{{cookiecutter.email}}>"] description = "{{cookiecutter.description}}"