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.

Files for packagit, version 0.2102.11
Filename, size File type Python version Upload date Hashes
Filename, size packagit-0.2102.11-py3-none-any.whl (17.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size packagit-0.2102.11.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page