Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change?
This commit is contained in:
parent
0ef2ccc3c1
commit
902a244634
6
tasks.py
6
tasks.py
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2022 Lance Edgar
|
||||
# Copyright © 2010-2024 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -45,5 +45,5 @@ def release(c):
|
|||
c.run('python -m build --sdist')
|
||||
|
||||
# upload to public PyPI
|
||||
filename = 'rattail-wave-{}.tar.gz'.format(__version__)
|
||||
c.run('twine upload dist/{}'.format(filename))
|
||||
filename = f'rattail_wave-{__version__}.tar.gz'
|
||||
c.run(f'twine upload dist/{filename}')
|
||||
|
|
Loading…
Reference in a new issue