fix bumpminor.sh script
This commit is contained in:
+1
-1
@@ -6,6 +6,6 @@ start moving functionality into the package.
|
||||
"""
|
||||
|
||||
__all__ = ["main", "__version__"]
|
||||
__version__ = "5.0"
|
||||
__version__ = "5.0.1"
|
||||
|
||||
from .cli import main
|
||||
|
||||
+2
-2
@@ -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"
|
||||
@@ -44,4 +44,4 @@ where = ["."]
|
||||
include = ["hbd*"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"hbd" = ["*.yaml", "static/*", "static/*/*", "templates/*"]
|
||||
"hbd" = ["*.yaml", "static/*", "static/*/*", "templates/*"]
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user