Metadata-Version: 2.0
Name: bump
Version: 1.0.0
Summary: Bumps package version numbers
Home-page: https://github.com/di/bump
Author: Mark Steve Samson
Author-email: hello@marksteve.com
License: MIT
Description-Content-Type: UNKNOWN
Keywords: bump increment package version
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: click (<7,>=6)
Requires-Dist: first

bump
====

Bumps package versions.

Example
=======

By default, running ``bump`` in a directory with a ``setup.py`` will bump the
"patch" number in place::

  $ bump
  1.0.1
  $ git diff setup.py
  ─────────────────────────────────────────────────
  modified: setup.py
  ─────────────────────────────────────────────────
  @ setup.py:6 @ from setuptools import setup

  setup(
      name='bump',
  -    version='1.0.0',
  +    version='1.0.1',
      description='Bumps package version numbers',
      long_description=open('README.rst').read(),
      license='MIT',

Conveniently ``bump`` will also return the new version number, so you can use
it after running the command, for example::

  $ export VERSION=`bump`
  $ echo "The new version is $VERSION"
  The new version is 1.0.1

Options
=======

The ``bump`` command can also bump the major or minor version numbers, or set
the pre-release identifier or local version segment::

  $ bump --help
  Usage: bump [OPTIONS] [INPUT] [OUTPUT]

  Options:
    -M, --major   Bump major number
    -m, --minor   Bump minor number
    -p, --patch   Bump patch number
    --pre TEXT    Set the pre-release identifier
    --local TEXT  Set the local version segment
    --help        Show this message and exit.


