diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..c7a8416 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,4 @@ +[bumpversion] +current_version = 1.0.0 +files = setup.py docs/conf.py + diff --git a/docs/conf.py b/docs/conf.py index dfb7395..32d8e89 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,10 +52,12 @@ # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = '1.0' + # The full version, including alpha/beta/rc tags. -release = '1.0.0-beta1' +release = '1.0.0' + +# The short X.Y version. +version = '.'.join(release.split('.')[0:2]) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/release-notes.rst b/docs/release-notes.rst index a579d5f..23816d5 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -1,6 +1,10 @@ Release Notes ============= +1.0.0 +----- +*No changes from 1.0.0-beta1.* + 1.0.0-beta1 ----------- * #8 -- Consistent URL patterns diff --git a/requirements_dev.txt b/requirements_dev.txt index 5e2e87f..a569bd9 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -25,3 +25,4 @@ sphinx_rtd_theme # Build wheel +bumpversion diff --git a/setup.py b/setup.py index 76c8195..3840d1c 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='django-user-sessions', - version='1.0.0-beta1', + version='1.0.0', description='Django sessions with a foreign key to the user', long_description=open('README.rst').read(), author='Bouke Haarsma', @@ -14,7 +14,7 @@ install_requires=['Django>=1.4'], include_package_data=True, classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers',