Skip to main content

Safe GitHub release version bumper for Python and Node projects.

Project description

release-version-cli

Safe GitHub release version bumper for Python and Node projects.

Install

pipx install release-version-cli

Usage

release-version patch
release-version minor
release-version major
release-version patch --dry-run
release-version patch --file packages/api/pyproject.toml
release-version patch --cwd packages/api --file pyproject.toml
release-version patch --initial
release-version patch --yes

Behavior

  • Supports static Python [project].version in pyproject.toml.
  • Supports top-level package.json.version.
  • Requires clean semver X.Y.Z.
  • Uses strict git tags vX.Y.Z.
  • Fetches remote tags before release.
  • Requires clean worktree.
  • Requires local HEAD to match upstream HEAD.
  • Requires manifest version to match latest remote version tag unless --initial is used.
  • Creates release commit containing only selected manifest bump.
  • Pushes commit and tag before creating GitHub release.
  • Creates GitHub release through gh.
  • Uses Ollama gemma4 for grouped notes when available.
  • Falls back to deterministic grouped notes when Ollama fails.
  • Always appends raw commits.

Development

uv run --extra dev pytest

Publishing this package

uv build
uv publish

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

release_version_cli-0.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

release_version_cli-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file release_version_cli-0.1.0.tar.gz.

File metadata

  • Download URL: release_version_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for release_version_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 47c6157b86c463f3ea5eb5224ba3af5c0a3c5f34e23b3c2d3b24d9bbfc3af8d0
MD5 db251f03729e3148b7c3143b11a639f8
BLAKE2b-256 d51b7ce4ecdfc68e42424298b73e74aa6b6dfe66086c023b78620911f0461c9e

See more details on using hashes here.

File details

Details for the file release_version_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for release_version_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b21e4402499b3b68134c9aa8ce742174fde97d76325ca729e56414b41c3347ca
MD5 8c05aaf3e11b59b7f2a7ce926bb8c31c
BLAKE2b-256 aca5b3bef3f608943dcf4d6785b945019b1f4560f252a8fd449c18b0375ff2cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page