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-05-30 11:15:07 -05:00
parent f01faaf2f9
commit 784f75ac3f

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2023 Lance Edgar # Copyright © 2010-2024 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -42,4 +42,4 @@ def release(c):
if os.path.exists('rattail_tempmon.egg-info'): if os.path.exists('rattail_tempmon.egg-info'):
shutil.rmtree('rattail_tempmon.egg-info') shutil.rmtree('rattail_tempmon.egg-info')
c.run('python -m build --sdist') c.run('python -m build --sdist')
c.run('twine upload dist/rattail-tempmon-{}.tar.gz'.format(__version__)) c.run(f'twine upload dist/rattail_tempmon-{__version__}.tar.gz')