fix bumpminor.sh script

This commit is contained in:
2026-02-06 15:51:48 -05:00
parent 3748a6fc8f
commit 5dca9369dd
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ start moving functionality into the package.
"""
__all__ = ["main", "__version__"]
__version__ = "5.0"
__version__ = "5.0.1"
from .cli import main
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "hbd"
version = "5.0"
version = "5.0.1"
description = "Heartbeat daemon (hbd) — receive heartbeats and act on them"
readme = "README.md"
requires-python = ">=3.10"
+2 -2
View File
@@ -2,10 +2,10 @@
uv version --bump patch
VER=$(uv version --short)
sed -i "s/__version__ = \"[0-9.]*\"\(.*\)$/__version__ = \"$VER\"\1/" moninbox/const.py
sed -i "s/__version__ = \"[0-9.]*\"\(.*\)$/__version__ = \"$VER\"\1/" hbd/__init__.py
# commit pyproject.toml
git commit -m "version $VER" pyproject.toml moninbox/const.py
git commit -m "version $VER" pyproject.toml hbd/__init__.py
git push
# tag version
git tag -a v$VER -m "Version $VER"