release:framework

Release a new version of splent_framework to GitHub and PyPI.


Usage

splent release:framework [<version>]

When <version> is omitted, the interactive semver wizard runs: it fetches the latest tag from GitHub and offers patch, minor, or major bump options.

Examples

Interactive (recommended):

splent release:framework

Explicit version (CI / automation):

splent release:framework v1.4.1

Pipeline

  1. Validates environment credentials.
  2. Bumps the version in splent_framework/pyproject.toml.
  3. Stages, commits, and pushes all pending changes to main.
  4. Creates and pushes a Git tag (v<version>).
  5. Creates a GitHub Release.
  6. Cleans build artifacts (__pycache__, dist/, build/, *.egg-info).
  7. Builds the package (python -m build).
  8. Uploads to PyPI via twine.

Requirements

Variable Description
GITHUB_TOKEN Optional. Required for GitHub Release creation and for the semver wizard to fetch tags without rate limits.
TWINE_USERNAME / PYPI_USERNAME PyPI authentication (usually __token__).
TWINE_PASSWORD / PYPI_PASSWORD PyPI API token.

Verify credentials before releasing:

splent check:github
splent check:pypi

See also


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es