From 4a9745f3dcfae070626438c78347a32742437c13 Mon Sep 17 00:00:00 2001 From: Christopher Covington Date: Fri, 12 Jul 2024 23:14:34 -0400 Subject: [PATCH] Fix package versioning (#23) --- includes.sh | 2 +- pyproject.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes.sh b/includes.sh index ef90865..f62f4da 100644 --- a/includes.sh +++ b/includes.sh @@ -355,7 +355,7 @@ yucount() { git fetch --tags local count count=$(git tag --list "$yu*" | gsed "s/$yu//" | sort -r | head -1) - date -u "+v%Y.%U.${count:-0}" + date -u "+v%Y.%U.$((${count:-0} + 1))" } if [[ $* ]]; then diff --git a/pyproject.toml b/pyproject.toml index 955514b..ec6caf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,3 +69,5 @@ convention = 'pep257' [tool.setuptools.packages] find = { namespaces = false } + +[tool.setuptools_scm]