Skip to content

Commit

Permalink
Merge pull request #9 from Linkid/release-1.2
Browse files Browse the repository at this point in the history
Bump version: 1.2.dev0 → 1.2
  • Loading branch information
Linkid authored Apr 12, 2020
2 parents a2cbefb + 81638d6 commit ac66c8a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Release notes
=============

1.2.dev0 (unreleased)
---------------------
1.2 (2020-04-12)
----------------

- Python 3 compatible (CI, code, tests)
- Code: use `std::fmod` instead of `std::remainder` only for Visual C++ 9.0 (Windows & python 2.7)
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'FoFiX team'

# The full version, including alpha/beta/rc tags
release = '1.2.dev0'
release = '1.2'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pypitch/_pypitch.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

__version__ = '1.2.dev0'
__version__ = '1.2'

from libcpp.vector cimport vector

Expand Down
15 changes: 8 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ source-dir = doc/source
build-dir = doc/build/

[bumpversion]
current_version = 1.2.dev0
current_version = 1.2
commit = True
parse = (?P<major>\d+)\.(?P<minor>\d+)(\.(?P<release>[a-z]+0))?
serialize =
{major}.{minor}.{release}
{major}.{minor}
serialize =
{major}.{minor}.{release}
{major}.{minor}

[bumpversion:file:doc/source/conf.py]
[bumpversion:file:setup.py]
[bumpversion:file:pypitch/_pypitch.pyx]
[bumpversion:part:release]
optional_value = gamma
values =
dev0
gamma
values =
dev0
gamma

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# setup
setup(
name='pypitch',
version='1.2.dev0',
version='1.2',
description='PyPitch analyses audio streams for pitch',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit ac66c8a

Please sign in to comment.