mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Include test files, manual to sdist
This commit is contained in:
parent
37a2ceccd1
commit
9c4d4d9632
3 changed files with 14 additions and 2 deletions
4
.github/workflows/make_release.yaml
vendored
4
.github/workflows/make_release.yaml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
cache: poetry
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install --only=release
|
||||
run: poetry install --with=release --extras=docs
|
||||
|
||||
- name: Install pandoc
|
||||
run: sudo apt update && sudo apt install pandoc -y
|
||||
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Build a binary wheel and a source tarball
|
||||
run: poetry build
|
||||
run: poe build
|
||||
|
||||
- name: Store the distribution packages
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ Bug fixes:
|
|||
* Fix bug where matcher doesn't consider medium number when importing. This makes
|
||||
it difficult to import hybrid SACDs and other releases with duplicate tracks.
|
||||
:bug:`5148`
|
||||
* Bring back test files and the manual to the source distribution tarball.
|
||||
:bug:`5513`
|
||||
|
||||
For packagers:
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ packages = [
|
|||
{ include = "beets" },
|
||||
{ include = "beetsplug" },
|
||||
]
|
||||
include = ["test", "man/**/*"] # extra files to include in the sdist
|
||||
|
||||
[tool.poetry.urls]
|
||||
Changelog = "https://github.com/beetbox/beets/blob/master/docs/changelog.rst"
|
||||
|
|
@ -149,6 +150,15 @@ build-backend = "poetry.core.masonry.api"
|
|||
poethepoet = ">=0.26"
|
||||
poetry = ">=1.8"
|
||||
|
||||
[tool.poe.tasks.build]
|
||||
help = "Build the package"
|
||||
shell = """
|
||||
make -C docs man
|
||||
rm -rf man
|
||||
mv docs/_build/man .
|
||||
poetry build
|
||||
"""
|
||||
|
||||
[tool.poe.tasks.bump]
|
||||
help = "Bump project version and update relevant files"
|
||||
cmd = "python ./extra/release.py bump $version"
|
||||
|
|
|
|||
Loading…
Reference in a new issue