From 79ce9b6512d1f7bd9590095d5eed2a67f665e5cf Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 19 Sep 2024 01:02:47 +0200 Subject: [PATCH] libbtrfsutil: bump btrfsutil version, add release steps [ ci skip ] Issue: #310 Signed-off-by: David Sterba --- Documentation/dev/ReleaseChecklist.rst | 11 +++++++++++ libbtrfsutil/python/setup.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/dev/ReleaseChecklist.rst b/Documentation/dev/ReleaseChecklist.rst index 7789cc83fc..f6254ccdb0 100644 --- a/Documentation/dev/ReleaseChecklist.rst +++ b/Documentation/dev/ReleaseChecklist.rst @@ -27,6 +27,17 @@ Pre-release: * write CHANGES entry (will be visible on RTD right away) +Python btrfsutil (pypi.org): + +* rebuild whole project (regenerate constants.c) +* ``cd libbtrfsutil/python`` +* edit ``setup.py`` version manually (the toplevel VERSION is not accessible + during dist build) +* ``python3 -m build`` -- build dist files +* ``twine check dist/*.tar.gz`` -- look for warnings +* ``twine upload dist/*.tar.gz`` -- make sure there's only the latest version, + *twine* must need access token to pypi.org + Release: * tag release, sign diff --git a/libbtrfsutil/python/setup.py b/libbtrfsutil/python/setup.py index 37c0345097..e0ffb7c52c 100755 --- a/libbtrfsutil/python/setup.py +++ b/libbtrfsutil/python/setup.py @@ -109,7 +109,7 @@ def run(self): name='btrfsutil', # FIXME: version file is not present when building outside of git #version=get_version(), - version='6.10', + version='6.11', description='Library for managing Btrfs filesystems', url='https://github.com/kdave/btrfs-progs', license='LGPLv2+',