Skip to content

Commit

Permalink
Add bumpversion
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed May 5, 2021
1 parent c03f640 commit 2a32ecb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
11 changes: 11 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[bumpversion]
commit = True
tag = True
message = "Release {new_version}"
current_version = 0.4.0

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:port_for/__init__.py]
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ port-for
:target: https://pypi.python.org/pypi/port-for
:alt: PyPI Version

.. image:: https://img.shields.io/travis/kmike/port-for/master.svg
:target: http://travis-ci.org/kmike/port-for
:alt: Build Status

.. image:: http://codecov.io/github/kmike/port-for/coverage.svg?branch=master
:target: http://codecov.io/github/kmike/port-for?branch=master
:alt: Code Coverage
Expand Down
2 changes: 1 addition & 1 deletion port_for/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import

__version__ = "0.4"
__version__ = "0.4.0"

from .api import (
available_good_ports,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="port-for",
version="0.4",
version="0.4.0",
author="Mikhail Korobov",
author_email="kmike84@gmail.com",
packages=["port_for"],
Expand Down

0 comments on commit 2a32ecb

Please sign in to comment.