diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 411a83e..9f5e5bf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,10 +98,13 @@ Recommended production release flow: make test make lint make build -git tag 1.1.2 -git push origin 1.1.2 +git tag X.Y.Z +git push origin X.Y.Z ``` +Replace `X.Y.Z` with the value of `project.version` in `pyproject.toml`. The tag must match it +exactly, with no `v` prefix, or the release workflow fails before publishing anything. + After the tag is pushed, the PyPI workflow publishes that version if CI passes and the tag matches the package version. If you use GitHub Releases, create the release from the existing version tag instead of using branch pushes as the release trigger. diff --git a/pyproject.toml b/pyproject.toml index c41b6f7..4075da1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "django-dbml" -version = "1.1.2" +version = "1.2.0" description = "Django extension aimed to generate DBML from installed models." readme = "README.md" requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index e915e95..e1937d7 100644 --- a/uv.lock +++ b/uv.lock @@ -155,7 +155,7 @@ wheels = [ [[package]] name = "django-dbml" -version = "1.1.2" +version = "1.2.0" source = { editable = "." } dependencies = [ { name = "django" },