updated variables for v2.2.0 release
diff --git a/docs/conf.py b/docs/conf.py
index 81ff26e..930d4ec 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -63,7 +63,7 @@
# The short X.Y version.
version = '2.2'
# The full version, including alpha/beta/rc tags.
-release = '2.2.dev0'
+release = '2.2.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/docs/release.rst b/docs/release.rst
index 30d159a..39fccd2 100644
--- a/docs/release.rst
+++ b/docs/release.rst
@@ -2,7 +2,7 @@
- Update the version number and push to pypi
- Update ``pybind11/_version.py`` (set release version, remove 'dev').
- - Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``.
+ - Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/detail/common.h``.
- Ensure that all the information in ``setup.py`` is up-to-date.
- Update version in ``docs/conf.py``.
- Tag release date in ``docs/changelog.rst``.
diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h
index feefc12..b5ee173 100644
--- a/include/pybind11/detail/common.h
+++ b/include/pybind11/detail/common.h
@@ -93,7 +93,7 @@
#define PYBIND11_VERSION_MAJOR 2
#define PYBIND11_VERSION_MINOR 2
-#define PYBIND11_VERSION_PATCH dev0
+#define PYBIND11_VERSION_PATCH 0
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
#if defined(_MSC_VER)
diff --git a/pybind11/_version.py b/pybind11/_version.py
index 73445e7..ea7d461 100644
--- a/pybind11/_version.py
+++ b/pybind11/_version.py
@@ -1,2 +1,2 @@
-version_info = (2, 2, 'dev0')
+version_info = (2, 2, 0)
__version__ = '.'.join(map(str, version_info))