fix: refactor config.get_model() => app.model

per rattail changes
This commit is contained in:
Lance Edgar 2024-07-11 13:16:02 -05:00
parent 4eb5866379
commit ae8212069c
10 changed files with 54 additions and 40 deletions

View file

@ -31,16 +31,18 @@ from invoke import task
@task
def release(c, tests=False):
def release(c, skip_tests=False):
"""
Release a new version of 'Tailbone'.
"""
if tests:
if not skip_tests:
c.run('tox')
if os.path.exists('dist'):
shutil.rmtree('dist')
if os.path.exists('Tailbone.egg-info'):
shutil.rmtree('Tailbone.egg-info')
c.run('python -m build --sdist')
c.run('twine upload dist/*')