Skip to content

Commit 5973b6b

Browse files
committed
Fix template files not included in build
1 parent 16eef64 commit 5973b6b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ This project uses [uv](https://docs.astral.sh/uv/) to handle python versions and
5353
uv sync
5454
```
5555

56+
To do a new release, bump the version in `pyproject.toml`, then:
57+
```bash
58+
uv build
59+
uv publish
60+
```
61+
5662
## Tests
5763

5864
```bash

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "django-admin-changeform-actions"
33
authors = [
44
{ name="Christoph Buelter", email="buelter.christoph@gmail.com" },
55
]
6-
version = "0.5.1"
6+
version = "0.5.2"
77
license = "MIT"
88
description = "Reuse model admin changelist actions on changeform pages"
99
readme = "README.md"
@@ -12,6 +12,13 @@ dependencies = [
1212
"django>=3.2",
1313
]
1414

15+
[build-system]
16+
build-backend = 'hatchling.build'
17+
requires = ['hatchling']
18+
19+
[tool.hatch.build.targets.wheel]
20+
packages = ["changeform_actions"]
21+
1522
[project.urls]
1623
Homepage = "https://github.com/cb109/django-admin-changeform-actions"
1724

0 commit comments

Comments
 (0)