An open API service indexing awesome lists of open source software.

https://github.com/drkjeff16/update-version

Python script to update version file.
https://github.com/drkjeff16/update-version

python python-3 python-app python-script python3

Last synced: about 2 months ago
JSON representation

Python script to update version file.

Awesome Lists containing this project

README

          

# update-version

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

---

## Installation

You can install it through `pip`:

```sh
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]
[-c] [-r ..[-]]
[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.