Skip to content

Commit

Permalink
Merge pull request #9 from spapa013/main
Browse files Browse the repository at this point in the history
v0.0.3 - updates get_package_version --> check_package_version
  • Loading branch information
spapa013 authored Nov 19, 2021
2 parents 05c1869 + 0433a7a commit a0ef6b0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
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(
owner='cajal',
repo='microns-materialization',
source='tag',
)
)
)

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)
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
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(
owner='cajal',
repo='microns-materialization',
source='tag',
)
)
)

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)
2 changes: 1 addition & 1 deletion python/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.2"
__version__ = "0.0.3"

0 comments on commit a0ef6b0

Please sign in to comment.