From c47092c90631752149347cc63d6269c59011cc1f Mon Sep 17 00:00:00 2001 From: Marie Backman Date: Mon, 23 Mar 2026 13:11:03 -0400 Subject: [PATCH] Exclude RC tags from versioning calculations Add configuration to exclude RC tags for versioning. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f91c454..0111b66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,9 @@ packages = ["src/packagenamepy"] [tool.versioningit.vcs] method = "git" default-tag = "0.1.0" +# Ignore RC tags when calculating distance from the latest tag. +# This ensures dev versions increase monotonically relative to the latest production release. +exclude = ["*rc*"] [tool.versioningit.next-version] method = "minor"