示例#1
0
def commit_version(file, remote_name):
    """
    Commit version files and add git tag to the commit
    """
    commit_version_func(get_version(file[0]), file, remote_name)
    click.echo('Version commit change was successfully created')
示例#2
0
def print_version(file):
    """
    Return current project version according to version JSON file
    """
    click.echo(get_version(file))