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:24:34 -05:00
parent 7dbc9285b2
commit e87a14b828

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.
#
@ -42,5 +42,5 @@ def release(c):
c.run('rm -rf rattail_quickbooks.egg-info')
c.run('python -m build --sdist')
filename = 'rattail-quickbooks-{}.tar.gz'.format(__version__)
filename = f'rattail_quickbooks-{__version__}.tar.gz'
c.run('twine upload dist/{}'.format(filename))