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-06 18:51:14 -05:00
parent 0ef2ccc3c1
commit 902a244634

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar # Copyright © 2010-2024 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -45,5 +45,5 @@ def release(c):
c.run('python -m build --sdist') c.run('python -m build --sdist')
# upload to public PyPI # upload to public PyPI
filename = 'rattail-wave-{}.tar.gz'.format(__version__) filename = f'rattail_wave-{__version__}.tar.gz'
c.run('twine upload dist/{}'.format(filename)) c.run(f'twine upload dist/{filename}')