diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cd93258..f8c3a2cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,14 @@ Sections ### Developers --> -## [2.2.1] - 2018-05-29 +## [2.2.2] - 2018-05-29 + +### Fixed +- Spelling mistake in `setup.cfg` that caused broken builds. [#130](https://github.com/ikalchev/HAP-python/pull/130) + + + +## [2.2.1] - 2018-05-29 - Broken ### Fixed - Package data is now included again. [#128](https://github.com/ikalchev/HAP-python/pull/128) diff --git a/pyhap/const.py b/pyhap/const.py index 7bcbd6dc..58b688db 100644 --- a/pyhap/const.py +++ b/pyhap/const.py @@ -1,7 +1,7 @@ """This module contains constants used by other modules.""" MAJOR_VERSION = 2 MINOR_VERSION = 2 -PATCH_VERSION = 1 +PATCH_VERSION = 2 __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) REQUIRED_PYTHON_VER = (3, 5) diff --git a/scripts/release b/scripts/release index 6e3eed69..64e489a4 100755 --- a/scripts/release +++ b/scripts/release @@ -6,12 +6,9 @@ set -e cd "$(dirname "$0")/.." -# Install missing dependencies -if [ -z "$(python3 -m pip list | grep 'wheel')" ]; then - python3 -m pip install wheel -fi -if [ -z "$(python3 -m pip list | grep 'twine')" ]; then - python3 -m pip install twine +# Remove previous build +if [ -n "$(ls | grep 'build')" ]; then + rm -r build/ fi echo "=====================================" diff --git a/setup.cfg b/setup.cfg index bfdcf657..024fc6fd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,7 +20,7 @@ classifier = [options] packages = pyhap -include_package_date = true +include_package_data = true install_requires = curve25519-donna ed25519