Skip to content

Commit

Permalink
Merge pull request #3 from saleem-latif/release-2
Browse files Browse the repository at this point in the history
Release 2
  • Loading branch information
saleem-latif authored Oct 2, 2019
2 parents b0d1d58 + a9476a8 commit 5f58c4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import sys

from setuptools import find_packages, setup
from setuptools import setup


def get_version(*file_paths):
Expand All @@ -22,8 +22,10 @@ def get_version(*file_paths):
return version_match.group(1)
raise RuntimeError("Unable to find version string.")


VERSION = get_version("theming", "__init__.py")


if sys.argv[-1] == "tag":
print("Tagging the version on GitHub:")
os.system("git tag -a %s -m 'version %s'" % (VERSION, VERSION))
Expand Down
2 changes: 1 addition & 1 deletion theming/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .core import get_base_dir, get_themes, is_enabled

__version__ = "0.1.0"
__version__ = "2.0.1"


default_app_config = "theming.apps.ThemingConfig" # pylint: disable=invalid-name

0 comments on commit 5f58c4d

Please sign in to comment.