From 0d5bcebbe542094f0f95a5bd6706b17924512f4f Mon Sep 17 00:00:00 2001 From: Loic Teixeira Date: Thu, 21 Sep 2017 14:21:04 +1000 Subject: [PATCH] Release 0.3 (#23) --- README.md | 12 ++++++++++++ setup.py | 4 +++- wagtailgmaps/__init__.py | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3efcc38..83735ad 100644 --- a/README.md +++ b/README.md @@ -72,3 +72,15 @@ Or if you opted for the LatLng pair option: ```html Open map ``` + +## Development + +### Releases + +- Make a new branch for the release of the new version. +- Update the [CHANGELOG](https://github.com/springload/wagtailgmaps/CHANGELOG.md). +- Update the version number in `wagtailgmaps/__init__.py`, following semver. +- Make a PR and squash merge it. +- Back on master with the PR merged, use `make publish` (confirm, and enter your password). +- Finally, go to GitHub and create a release and a tag for the new version. +- Done! diff --git a/setup.py b/setup.py index efd890d..3c18324 100755 --- a/setup.py +++ b/setup.py @@ -4,6 +4,8 @@ from setuptools import setup +from wagtailgmaps import __version__ + with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() @@ -36,7 +38,7 @@ setup( name='wagtailgmaps', - version='0.3.0', + version=__version__, packages=['wagtailgmaps'], include_package_data=True, license='MIT', diff --git a/wagtailgmaps/__init__.py b/wagtailgmaps/__init__.py index e69de29..6f00368 100644 --- a/wagtailgmaps/__init__.py +++ b/wagtailgmaps/__init__.py @@ -0,0 +1,5 @@ +__title__ = 'wagtailgmaps' +__version__ = '0.3' +__author__ = 'Springload' +__license__ = 'MIT' +__copyright__ = 'Copyright 2017 Springload'