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]