Skip to content

dart pub publish --dry-run does not warn about unchanged description #3537

Open
@osaxma

Description

@osaxma

Environment

  • Dart version: Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "macos_x64

Problem

I've created a package using dart create -t package and I forgot to change the description. When I ran dart pub publish --dry-run , I got Package has 0 warnings.

Though when I tried to publish, I got the following error:

`description` contains a generic text fragment coming from package templates (`A starting point for Dart libraries or applications`).
Please follow the guides to describe your package:
https://dart.dev/tools/pub/pubspec#description

The description that caused the error in publishing:

description: A starting point for Dart libraries or applications.

Expected Behavior:

I expected to get a warning during the dry run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions