Skip to content

Commit

Permalink
chore: Release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asyrjasalo committed Jul 28, 2024
1 parent ec1d98f commit a154de0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,27 @@ def install_testpypi(session):
)


@nox.session(venv_backend="venv")
def release_pypi(session):
"""Publish dist/* to PyPI."""
session.install("zest.releaser[recommended]")
session.run("twine", "check", "dist/*")
session.run(
"twine",
"upload",
"dist/*",
)


@nox.session(venv_backend="venv")
def install_pypi(session):
"""Install the latest release from PyPI."""
session.install(
"--no-cache-dir",
PROJECT_NAME,
)


@nox.session(venv_backend="venv")
def release(session):
"""Tag, build and publish a new release to PyPI."""
Expand Down

0 comments on commit a154de0

Please sign in to comment.