def version():
    """Return version of gitifyhg"""
    try:
        import pkg_resources
        return pkg_resources.get_distribution('gitifyhg').version
    except Exception:
        return 'UNKNOWN'
