Files
heartbeat/scripts/bumpminor.sh
T

13 lines
316 B
Bash
Executable File

#!/bin/sh
uv version --bump patch
VER=$(uv version --short)
sed -i "s/__version__ = \"[0-9.]*\"\(.*\)$/__version__ = \"$VER\"\1/" moninbox/const.py
# commit pyproject.toml
git commit -m "version $VER" pyproject.toml moninbox/const.py
git push
# tag version
git tag -a v$VER -m "Version $VER"
git push --tags