Skip to main content

SemVerBump

SemVerBump or Semantic Version Bump is a CLI tool that auto-bumps version (with auto git tagging and commit) for your application.

Currently supports

  • JSON

Example -

  • package.json
{
  "version": "0.1.1"
}

Caveat - version attribute should be in an object and not in a list.

Supported Runtime

pypi

  • Python 3.9+

Install

pip install semverbump

Quick start

# version file and path defaults to `package.json` and `version` key
semverbump # <command> major | minor | patch
semverbump major # 1.x.x
semverbump minor # x.1.x
semverbump patch # x.x.1

Custom version file and path

semverbump --version-file app-version.json --version-path project.version minor
# or shorter version
semverbump -f app-version.json -p project.version minor
// app-version.json
{
  "project": {
    "name": "SuperApp",
    "version": "1.0.2"
  }
}

Roadmap

  • [✅] SemVer support
  • [✅] No additional dependencies (Python Standard Libary only)
  • [✅] Tested with JSON based configs, it should work with any JSON file if in the format given above.
  • [✅] Auto Git commits and Tags
  • [❓] Add support for more file formats like YAML and TOML

Alternatives -

Author - Nikhil Akki

Personal Blog - nikhilakki.in

Metadata

Release files for semverbump 0.2.2

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

Source distribution (sdist)

Source distribution for semverbump 0.2.2
File Size Uploaded Provenance
semverbump-0.2.2.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.0 kB

Release files / semverbump-0.2.2.tar.gz

Download URL semverbump-0.2.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
51ad6515ab9dbd0f38968f158d8c8a3d63a29aab51d196d3939b89c582aaf58d
BLAKE2b-256 checksum
How to use checksums
d7d693108387f487b832ddc4f5a626f132f16ab50e6eb6be8b88ee21025a3519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Linux/5.15.90.1-microsoft-standard-WSL2

Release files / semverbump-0.2.2-py3-none-any.whl

Download URL semverbump-0.2.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d212d06088c776df56568997db680bfd91b51cda499a64a4fc97d7b048f5c6
BLAKE2b-256 checksum
How to use checksums
a17b31ea8988a9945bcb16f19ba0575218f6bb703918554258bd7a57be913f58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Linux/5.15.90.1-microsoft-standard-WSL2

Security for semverbump 0.2.2

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.

Release history Release notifications | RSS feed

This release

0.2.2 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