Skip to content

Commit

Permalink
chore(release): update uv.lock with bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Nov 30, 2024
1 parent 5b8bba1 commit 2a05fc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test = [
]

[tool.bumpversion]
allow_dirty = false
allow_dirty = true
commit = true
commit_args = "--no-verify"
current_version = "0.7.0"
Expand All @@ -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.*"]
Expand Down

0 comments on commit 2a05fc3

Please sign in to comment.