Skip to main content

Increment version, create and push tag for release

Project description

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.

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

packagit-0.2102.16.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

packagit-0.2102.16-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page