Skip to main content

Version-bump your software with a single command

Project description

bump-version-pep440

Code Quality pre-commit security: bandit latest release

Introduction: This project is heavily inspired by bumpversion, yet this is a different package with a different approach and design.

Usage

Quick Start

poetry add bump-version-pep440

CLI Usage

 poetry run bv --help

 Usage: bv [OPTIONS] VERSION_TYPE

 Bump the version based on the provided version type and other parameters.

╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    version_type      TEXT  [default: None] [required]                                                                                                                                               │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --current-version     -c      TEXT  Current version to be used instead of reading from pyproject.toml. [default: None]                                                                                │
│ --new-version         -n      TEXT  New version to be set instead of incrementing the current version. [default: None]                                                                                │
│ --commit                            If set, a git commit will be created. [default: True]                                                                                                             │
│ --commit-message              TEXT  Custom commit message. [default: None]                                                                                                                            │
│ --dry-run                           If set, no actual changes will be made, only printed.                                                                                                             │
│ --tag                               If set, a git tag will be created. [default: True]                                                                                                                │
│ --tag-name                    TEXT  Custom tag name. [default: None]                                                                                                                                  │
│ --install-completion                Install completion for the current shell.                                                                                                                         │
│ --show-completion                   Show completion for the current shell, to copy it or customize the installation.                                                                                  │
│ --help                              Show this message and exit.                                                                                                                                       │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Branching Strategy

  • main: The main branch. This branch is protected and cannot be pushed directly. (PRs must be made to dev instead of main)
  • dev: The development branch. This branch is protected and cannot be pushed directly. (PRs must be made to this branch)
  • feature/*: The 'feature/*' branches are used to develop new features for the upcoming or a distant future release. These branches are branched off from 'dev' and must merge back into dev.
  • release/*: The 'release/*' branches are used to prepare the next release. They allow for last-minute changes and minor bug fixes. These branches are branched off from 'dev' and must merge back into main and dev.
  • hotfix/*: The 'hotfix/*' branches are used to develop fixes for the current release. These branches are branched off from main and must merge back into main.

Contributing

Contributions are always welcome! Whether it's bug reports, feature requests, or pull requests, all contributions are appreciated. For more details, see CONTRIBUTING.md.

License

This project is licensed under some License. For more details, see LICENSE.

Code of Conduct

We believe in fostering an inclusive and respectful community. For guidelines and reporting information, see CODE_OF_CONDUCT.md.

Security

Your security is paramount. If you discover any security-related issues, please follow the guidelines in SECURITY.md.

Founding

For information about the project's founding and backers, see FOUNDING.

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

bump_version_pep440-0.0.4.post1.tar.gz (5.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

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