Exemple #1
0
def perform_release(context):
    """Executes the release process."""
    try:
        run_tests()

        if not context.skip_changelog:
            generate_changelog(context)
        increment_version(context)

        build_package(context)
        install_package(context)
        upload_package(context)
        install_from_pypi(context)

        commit_version_change(context)
        tag_and_push(context)
    except:
        log.exception('Error releasing')
Exemple #2
0
def perform_release(context):
    """Executes the release process."""
    try:
        run_tests()

        if not context.skip_changelog:
            generate_changelog(context)

        increment_version(context)

        build_distributions(context)

        install_package(context)

        upload_package(context)

        install_from_pypi(context)

        publish(context)
    except Exception:
        log.exception('Error releasing')
Exemple #3
0
def perform_release(context):
    """Executes the release process."""
    try:
        run_tests()

        if not context.skip_changelog:
            generate_changelog(context)

        increment_version(context)

        build_distributions(context)

        install_package(context)

        upload_package(context)

        install_from_pypi(context)

        publish(context)
    except Exception:
        log.exception('Error releasing')
Exemple #4
0
def test_generate_changelog():
    changelog.generate_changelog(context)
Exemple #5
0
def changelog(context):
    """Generates an automatic changelog from your commit messages."""
    generate_changelog(context.obj)
Exemple #6
0
def changelog(context):
    """Generates an automatic changelog from your commit messages."""
    generate_changelog(context.obj)
Exemple #7
0
def test_generate_changelog():
    changelog.generate_changelog(context)
    assert isinstance(context.changelog_content, list)
def test_generate_changelog():
    changelog.generate_changelog(context)
    assert isinstance(context.changelog_content, list)
Exemple #9
0
def test_generate_changelog():
    changelog.generate_changelog(context)