diff --git a/Makefile b/Makefile index 5d45baa..a6c594d 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,8 @@ release: ## bump the version and create the release tag make docs make clean make build - uv run bump-my-version bump $(bump) uv lock --upgrade-package litestar-vite + uv run bump-my-version bump $(bump) # ============================================================================= # Developer Utils diff --git a/pyproject.toml b/pyproject.toml index 23a3cc0..e12033c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ test = [ ] [tool.bumpversion] -allow_dirty = false +allow_dirty = true commit = true commit_args = "--no-verify" current_version = "0.7.0" @@ -109,6 +109,17 @@ filename = "package.json" replace = '"version": "{new_version}"' search = '"version": "{current_version}"' +[[tool.bumpversion.files]] +filename = "uv.lock" +replace = """ +name = "litestar-vite" +version = "{new_version}" +""" +search = """ +name = "litestar-vite" +version = "{current_version}" +""" + [tool.pytest.ini_options] addopts = "--dist loadfile -n auto" filterwarnings = ["ignore::DeprecationWarning:pkg_resources.*"]