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__"] __all__ = ["main", "__version__"]
__version__ = "5.0" __version__ = "5.0.1"
from .cli import main from .cli import main
+2 -2
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "hbd" name = "hbd"
version = "5.0" version = "5.0.1"
description = "Heartbeat daemon (hbd) — receive heartbeats and act on them" description = "Heartbeat daemon (hbd) — receive heartbeats and act on them"
readme = "README.md" readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"
@@ -44,4 +44,4 @@ where = ["."]
include = ["hbd*"] include = ["hbd*"]
[tool.setuptools.package-data] [tool.setuptools.package-data]
"hbd" = ["*.yaml", "static/*", "static/*/*", "templates/*"] "hbd" = ["*.yaml", "static/*", "static/*/*", "templates/*"]
+2 -2
View File
@@ -2,10 +2,10 @@
uv version --bump patch uv version --bump patch
VER=$(uv version --short) 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 # 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 git push
# tag version # tag version
git tag -a v$VER -m "Version $VER" git tag -a v$VER -m "Version $VER"