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.2.1.tar.gz (20.5 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.2.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: update_version-0.2.1.tar.gz
  • Upload date:
  • Size: 20.5 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.2.1.tar.gz
Algorithm Hash digest
SHA256 9e0c35343fc99e5ba87afc45059df119db7e4fc719e598823aa9e97cac960cf7
MD5 2c518e9e0eea14e6ca9f81b9dda109db
BLAKE2b-256 b148b2905de6647ce91877885e4af0a6d1b9a1a6afb208cf9724d7c2be781caf

See more details on using hashes here.

Provenance

The following attestation bundles were made for update_version-0.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: update_version-0.2.1-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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0cd4cef1552091383acaff15e6423e0e816cc316d9d4151cd54757102de0de43
MD5 04ca3e19aeec718752b52202b46520a1
BLAKE2b-256 81345a2a5762020bbffd65552e61c13b9284a0cd7c7da19190c8660ae2ea16d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for update_version-0.2.1-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