Skip to main content

Updates your project's version from a versioning file

Project description

update-version

A minimalist Python script to update your project's version through a version.txt file.


Installation

You can install it through pip:

pip install update-version

This script will install the following python packages as dependencies:

  • argparse
  • argcomplete

Usage

update-version [-h] [-v] [-V] [-P] [-L] [-D] [-e] [-p] [-m] [-M] [-d]
                    [-r <MAJOR>.<MINOR>.<PATCH>[-<EXTRA>]]
                    [path]

This script can be used for two types of versioning:

  • X.Y.Z
  • X.Y.Z-N

Where X is the major component, Y is the minor component and Z is the patch component.

If using N you will need to pass the -d option to the script.

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

update_version-0.3.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

update_version-0.3.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file update_version-0.3.0.tar.gz.

File metadata

  • Download URL: update_version-0.3.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for update_version-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d320e2ed378a0031afd75e392d86689695ae1efaa2f75f8013d466f95190e8cc
MD5 65cca2ac7bb4a8774c2b2c5c0d6b71a2
BLAKE2b-256 33d06313cd563a0cc28b76fb222300e03b69f404f86bdce2530905ee69c9c4cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for update_version-0.3.0.tar.gz:

Publisher: release.yml on DrKJeff16/update-version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file update_version-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: update_version-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for update_version-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 731e0fe50a440c170804710841c347d2ab94632e3e8fd308d3f70d8cbd179ae4
MD5 e9144d7ec7fccbc988426a21e7f7cee9
BLAKE2b-256 2e63e7a6568fa49819888cf70d00e0ee13f29d397849b064e6a09e8fee9accc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for update_version-0.3.0-py3-none-any.whl:

Publisher: release.yml on DrKJeff16/update-version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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