packagit

Increment version, create and push tag for release


License
GPL-3.0
Install
pip install packagit==0.2101.12

Documentation

test codecov

packagit

Increment version, create and push tag for release on github and pypi

Installation

# Set up a virtualenv. 
python3 -m venv venv
source venv/bin/activate

# Install from PyPI
pip install packagit

Setup

Write your first version number inside the setup.py of your project in the form:

VERSION = "0.2101.0"  # major.YYMM.minor

Copy the workflow file (release.yml) to the .github/workflows folder of your project repository. Copy an (empty?) changelog.txt to the root of your project repository.

Usage

Run at the shell prompt

packagit 0  # 0 is the major version number, the minor number will be automatically incremented.