From 55a7c4a9be2537c7289d2dad4042a2b337b35842 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 29 May 2024 10:15:24 -0500 Subject: [PATCH] Fix default dist filename for release task not sure why this fix was needed, did setuptools behavior change? --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index cb2927f..f01dabb 100644 --- a/tasks.py +++ b/tasks.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2023 Lance Edgar +# Copyright © 2010-2024 Lance Edgar # # This file is part of Rattail. # @@ -45,7 +45,7 @@ def release(c): c.run('python -m build --sdist') # filename of built package - filename = 'rattail-nationbuilder-{}.tar.gz'.format(__version__) + filename = f'rattail_nationbuilder-{__version__}.tar.gz' # upload to PyPI c.run('twine upload dist/{}'.format(filename))