diff --git a/python/microns-materialization-api/microns_materialization_api/__init__.py b/python/microns-materialization-api/microns_materialization_api/__init__.py index 7b4c112..b7e57dc 100644 --- a/python/microns-materialization-api/microns_materialization_api/__init__.py +++ b/python/microns-materialization-api/microns_materialization_api/__init__.py @@ -1,6 +1,6 @@ from microns_utils import version_utils -__version__ = version_utils.get_package_version( +__version__ = version_utils.check_package_version( package='microns-materialization-api', check_if_latest=True, check_if_latest_kwargs=dict( @@ -8,4 +8,10 @@ repo='microns-materialization', source='tag', ) -) \ No newline at end of file +) + +def check_latest_version_from_github(owner='cajal', repo='microns-materialization', source='tag', branch=None, path_to_version_file=None, warn=True): + """ + Wrapper for :func:`~microns_utils.version_utils.check_latest_version_from_github` + """ + return version_utils.check_latest_version_from_github(owner=owner, repo=repo, source=source, branch=branch, path_to_version_file=path_to_version_file, warn=warn) \ No newline at end of file diff --git a/python/microns-materialization/microns_materialization/__init__.py b/python/microns-materialization/microns_materialization/__init__.py index ba59899..acd73fd 100644 --- a/python/microns-materialization/microns_materialization/__init__.py +++ b/python/microns-materialization/microns_materialization/__init__.py @@ -1,6 +1,6 @@ from microns_utils import version_utils -__version__ = version_utils.get_package_version( +__version__ = version_utils.check_package_version( package='microns-materialization', check_if_latest=True, check_if_latest_kwargs=dict( @@ -8,4 +8,10 @@ repo='microns-materialization', source='tag', ) -) \ No newline at end of file +) + +def check_latest_version_from_github(owner='cajal', repo='microns-materialization', source='tag', branch=None, path_to_version_file=None, warn=True): + """ + Wrapper for :func:`~microns_utils.version_utils.check_latest_version_from_github` + """ + return version_utils.check_latest_version_from_github(owner=owner, repo=repo, source=source, branch=branch, path_to_version_file=path_to_version_file, warn=warn) \ No newline at end of file diff --git a/python/version.py b/python/version.py index a0235ce..e344246 100644 --- a/python/version.py +++ b/python/version.py @@ -1 +1 @@ -__version__ = "0.0.2" \ No newline at end of file +__version__ = "0.0.3" \ No newline at end of file