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

GitHub Actions publishes tagged releases with uv. Push a strict vX.Y.Z tag that matches [project].version in pyproject.toml, or run the Publish workflow manually with that tag.

Configure a GitHub repository secret named PYPI_API_TOKEN with a PyPI API token for this project.

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.8.tar.gz (15.7 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.8-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: release_version_cli-0.1.8.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for release_version_cli-0.1.8.tar.gz
Algorithm Hash digest
SHA256 042e776e24f262c7bff464d7e8606878e44e328488d6aeb408eb9ab4c1e576a1
MD5 f5ef43fe07a969338b496e8f7599e79a
BLAKE2b-256 d9ca51fc750ecb4fdf728ef35835b7ca82ac79f9958cefd9dc8c6d869633dc28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: release_version_cli-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for release_version_cli-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 18d70d8a9ecca39e88e704bdd02d2aab918a4a300689d083ec9ef6479120ac8f
MD5 a776377250de1eaffd1ad50dab2cedf4
BLAKE2b-256 22725cf7292db152b2dd67c721b863fdcc33e68f455e4441dd5887abdcfe67ba

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