Skip to main content

Python 3.9 Lint and Test PyPI version

bump2release

A CLI utility extension of bump2version that will push release tag to git remote in same flow.

Installation

pip install bump2release

Basic Usage

  1. Merge all feature branches to release branch. Either by pull request on remote, or local merge
  2. Run bump2Release (alias b2r), passing SEMVER release type (Major/Minor/Patch), and message for annotated tag

CLI Usage:

usage: bump2release [-h] bump_type tag_message

positional arguments:
  bump_type    Major / Minor / Patch etc.
  tag_message  annotated tag message

optional arguments:
  -h, --help   show this help message and exit

Sample Command

bump2release minor "new feature added"

CLI Output:
B2R Output

Sample Github Result:
Github Result

Command Flow Details

  1. Validate that git staging isn't dirty
  2. Validate that script is running from main/master/dev branch
  3. Pull latest changes from upstream (if feature branch was just merged)
  4. Leverage bump2version to bump version files, commit the change, and create matching annotated tag
  5. Push newly created tag to git remote (which can kick off a publish CI action)

Notes

  • A version.txt file is required
  • Additional files can optionally be specified in .bumpversion.cfg

License

Free Software: MIT License

Metadata

Release files for bump2release 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bump2release 0.2.1
File Size Uploaded Provenance Actions
bump2release-0.2.1.tar.gz 6.6 kB Without provenance Details for bump2release-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bump2release 0.2.1
File Interpreter ABI Platform Actions
bump2release-0.2.1-py3-none-any.whl Python 3 none any Details for bump2release-0.2.1-py3-none-any.whl

Total release size: 14.9 kB

Release files / bump2release-0.2.1.tar.gz

Download URL bump2release-0.2.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d819297b1bc398cf3934d9fb09f9f6b5c42232f77fbdeb881a5a780d3f3148c5
BLAKE2b-256 checksum
How to use checksums
3548998c16bfa60cffa4cdcfa56c4619c9ae3be8dbb2ef724e9b9e0a47f238b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / bump2release-0.2.1-py3-none-any.whl

Download URL bump2release-0.2.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f2053f979f5a82e70d6dccf2fc4be24747c2425c0c897e4c38587d43c5ed361
BLAKE2b-256 checksum
How to use checksums
ef31e17abdf4cbe25630a212ac96ab143c047d964ec2f77c9f86207d9ba1e190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for bump2release 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page