Skip to content

Incorrect errors when trying to publish #3152

@stuartmorgan-g

Description

@stuartmorgan-g

The flutter/plugins CI, which uses Flutter master, ground to a half sometime in the last couple of days due to bogus errors from pub publish --dry-run in our CI

Example (from https://cirrus-ci.com/task/5222632699199488):

ERROR: Package validation found the following errors:
* The pubspec is hidden, probably by .gitignore or pubignore.
* You must have a LICENSE file in the root directory.
  An open-source license helps ensure people can legally use your code.
Package validation found the following potential issues:
* Please add a README.md file that describes your package.
* Please add a`CHANGELOG.md` to your package. See https://dart.dev/tools/pub/publishing#important-files.
Sorry, your package is missing some requirements and can't be published yet.
For more information, see: https://dart.dev/tools/pub/cmd/pub-lish.
ERROR: pub finished with exit code 65
Unable to publish url_launcher

None of that is correct; the package has all of those things:
https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher

This seems to be happening with all of our packages, and reproduces locally with Flutter master but not stable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions