コード例 #1
0
ファイル: flow.py プロジェクト: imoapps/changes
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')
コード例 #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')
コード例 #3
0
ファイル: flow.py プロジェクト: michaeljoseph/changes
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')
コード例 #4
0
def test_upload_package():
    with CliRunner().isolated_filesystem():
        packaging.upload_package(context)
コード例 #5
0
ファイル: cli.py プロジェクト: michaelaye/changes
def upload(context, pypi):
    """Uploads your project with setup.py clean sdist bdist_wheel upload."""
    context.obj.pypi = pypi
    upload_package(context.obj)
コード例 #6
0
ファイル: cli.py プロジェクト: henrywm/changes
def upload(context, pypi):
    """Uploads your project with setup.py clean sdist bdist_wheel upload."""
    context.obj.pypi = pypi
    upload_package(context.obj)
コード例 #7
0
ファイル: test_packaging.py プロジェクト: imoapps/changes
def test_upload_package():
    packaging.upload_package(context)
コード例 #8
0
ファイル: test_packaging.py プロジェクト: henrywm/changes
def test_upload_package():
    packaging.upload_package(context)