Include automated tests in the source dist tarball uploaded to PyPI (#1149).
Some checks failed
build / test (push) Failing after 1m48s
build / docs (push) Has been skipped

This commit is contained in:
2025-09-22 14:26:00 -07:00
parent 65c17c91b3
commit cab6c3ee9b
3 changed files with 8 additions and 3 deletions

View File

@@ -1,2 +1,6 @@
include borgmatic/config/schema.yaml
graft sample/systemd
# This file only applies to the source dist tarball, not the built wheel.
graft docs
graft sample
graft scripts
graft tests
global-exclude *.py[co]

1
NEWS
View File

@@ -1,5 +1,6 @@
2.0.9.dev0
* #1149: Add support for Python 3.14.
* #1149: Include automated tests in the source dist tarball uploaded to PyPI.
2.0.8
* #1114: Document systemd configuration changes for the ZFS filesystem hook.

View File

@@ -33,7 +33,7 @@ git push github $version
# Build borgmatic and publish to pypi.
rm -fr dist
python3 -m build
uv build
twine upload -r pypi --username __token__ dist/borgmatic-*.tar.gz
twine upload -r pypi --username __token__ dist/borgmatic-*-py3-none-any.whl