File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 53
53
cache : poetry
54
54
55
55
- name : Install dependencies
56
- run : poetry install --only =release
56
+ run : poetry install --with =release --extras=docs
57
57
58
58
- name : Install pandoc
59
59
run : sudo apt update && sudo apt install pandoc -y
67
67
} >> "$GITHUB_OUTPUT"
68
68
69
69
- name : Build a binary wheel and a source tarball
70
- run : poetry build
70
+ run : poe build
71
71
72
72
- name : Store the distribution packages
73
73
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ Bug fixes:
20
20
* Fix bug where matcher doesn't consider medium number when importing. This makes
21
21
it difficult to import hybrid SACDs and other releases with duplicate tracks.
22
22
:bug: `5148 `
23
+ * Bring back test files and the manual to the source distribution tarball.
24
+ :bug: `5513 `
23
25
24
26
For packagers:
25
27
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ packages = [
26
26
{ include = " beets" },
27
27
{ include = " beetsplug" },
28
28
]
29
+ include = [" test" , " man/**/*" ] # extra files to include in the sdist
29
30
30
31
[tool .poetry .urls ]
31
32
Changelog = " https://github.com/beetbox/beets/blob/master/docs/changelog.rst"
@@ -149,6 +150,15 @@ build-backend = "poetry.core.masonry.api"
149
150
poethepoet = " >=0.26"
150
151
poetry = " >=1.8"
151
152
153
+ [tool .poe .tasks .build ]
154
+ help = " Build the package"
155
+ shell = """
156
+ make -C docs man
157
+ rm -rf man
158
+ mv docs/_build/man .
159
+ poetry build
160
+ """
161
+
152
162
[tool .poe .tasks .bump ]
153
163
help = " Bump project version and update relevant files"
154
164
cmd = " python ./extra/release.py bump $version"
You can’t perform that action at this time.
0 commit comments