https://github.com/bulv1ne/flit-bumpversion
Simple bumpversion tool
https://github.com/bulv1ne/flit-bumpversion
bumpversion python python3
Last synced: about 1 year ago
JSON representation
Simple bumpversion tool
- Host: GitHub
- URL: https://github.com/bulv1ne/flit-bumpversion
- Owner: bulv1ne
- License: mit
- Created: 2019-05-08T12:04:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T06:31:51.000Z (about 5 years ago)
- Last Synced: 2025-05-21T10:19:02.687Z (about 1 year ago)
- Topics: bumpversion, python, python3
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flit-bumpversion
Updates the `__version__` of a package, commits the changes and tags the commit.
## Installation
flit-bumpversion only works with python 3.7 and upwards.
```sh
python3 -m pip install flit_bumpversion
```
## Usage
You can either provide a single file module or a directory module:
If you want to update the `__version__` string in the `my_package.py` file:
```sh
flit-bumpversion patch my_package.py
```
Or when updating a directory module:
```sh
flit-bumpversion patch my_package
```
This will update `my_package/__init__.py` file.