def METHOD_NAME(github3_repo_mock, retry_client_mock, valid_release_mock, valid_release_with_assets_mock, scriptworker_config):
    incomplete_release_mock = MagicMock(
        tag_name="v5.2.0",
        target_commitish="b94cfdf06be2be4b5a3c83ab4095eb2ecde7ba71",
        prerelease=False,
    )
    incomplete_release_mock.configure_mock(name="Firefox Preview 5.2")
    github3_repo_mock.release_from_tag.side_effect = [
        incomplete_release_mock,
        valid_release_mock,
        valid_release_with_assets_mock,
    ]
    main(config_path=scriptworker_config)
    assert github3_repo_mock.create_release.call_count == 0
    incomplete_release_mock.edit.assert_called_with(
        tag_name="v5.2.0",
        name="Firefox 5.2",
        draft=False,
        prerelease=False,
    )
    assert valid_release_mock.upload_asset.call_count == 2