__version__ = '3.2.1'


from .errors import (SemanticReleaseBaseError, ImproperConfigurationError,  # noqa
                     UnknownCommitMessageStyleError)  # noqa


def setup_hook(argv):
    """
    A hook to be used in setup.py to enable `python setup.py publish`.

    :param argv: sys.argv
    """
    if len(argv) > 1 and argv[1] in ['version', 'publish', 'changelog']:
        from .cli import main
        main()

__version__ = '3.3.0'


from .errors import (SemanticReleaseBaseError, ImproperConfigurationError,  # noqa
                     UnknownCommitMessageStyleError)  # noqa


def setup_hook(argv):
    """
    A hook to be used in setup.py to enable `python setup.py publish`.

    :param argv: sys.argv
    """
    if len(argv) > 1 and argv[1] in ['version', 'publish', 'changelog']:
        from .cli import main
        main()

Fix version number