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.
- Host: GitHub
- URL: https://github.com/drkjeff16/update-version
- Owner: DrKJeff16
- License: gpl-2.0
- Created: 2026-01-16T23:05:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-01-19T07:00:44.000Z (5 months ago)
- Last Synced: 2026-01-19T13:23:12.038Z (5 months ago)
- Topics: python, python-3, python-app, python-script, python3
- Language: Python
- Homepage: https://pypi.org/project/update-version/
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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.