Skip to main content

Bump package versions

Project description

CircleCI Maintenance PyPI version

Introduction

A simple python console script to let me bump package version numbers easily and at will.

Overview

The basic command structure is:

Usage: stepversion [OPTIONS]

  Args:     major:     minor:     patch:     package_name

Options:
  --version                Show the version and exit.
  -m, --major INTEGER      Bump major version (default 1)
  -i, --minor INTEGER      Bump minor version (default 1)
  -p, --patch INTEGER      Bump patch version (default 1)
  -a, --package-name TEXT  Use this option when the package name does not
                           match the project name
  --help                   Show this message and exit.

Opinionated Expectations

The project keeps a _version.py file in the main package.

The format of the file is:

__version__: str = 'A Semantic Version'

See Semantic Versioning

Installation

pip install stepversion


Written by Humberto A. Sanchez II (C) 2023

Note

For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.


== I am using GitHub under protest ==

This project is currently hosted on GitHub.

I urge you to read about the Give up GitHub campaign from the Software Freedom Conservancy.

While I do not advocate for all the issues listed there I do not like that a company like Microsoft may profit from open source projects.

I continue to use GitHub because it offers the services I need for free. But, I continue to monitor their terms of service.

Any use of this project's code by GitHub Copilot, past or present, is done without our permission. We do not consent to GitHub's use of this project's code in Copilot.

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

stepversion-0.9.1.tar.gz (40.5 kB view hashes)

Uploaded Source

Built Distribution

stepversion-0.9.1-py3-none-any.whl (28.5 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