Fix default dist filename for release task

not sure why this fix was needed, did setuptools behavior change?
This commit is contained in:
Lance Edgar 2024-06-03 11:26:32 -05:00
parent d39a8a7adf
commit 19bb5bd27f

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2024 Lance Edgar
#
# This file is part of Rattail.
#
@ -43,5 +43,5 @@ def release(c):
c.run('python setup.py sdist --formats=gztar')
# upload to PyPI
filename = 'tailbone-quickbooks-{}.tar.gz'.format(__version__)
filename = f'tailbone_quickbooks-{__version__}.tar.gz'
c.run('twine upload dist/{}'.format(filename))