Skip to content

dart pub publish --skip-validation #3901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jonasfj opened this issue May 1, 2023 · 0 comments · Fixed by #3904
Closed

dart pub publish --skip-validation #3901

jonasfj opened this issue May 1, 2023 · 0 comments · Fixed by #3904
Labels
type-enhancement A request for a change that isn't a bug

Comments

@jonasfj
Copy link
Member

jonasfj commented May 1, 2023

Let's add a --skip-validation so that people can side step validations, should they cause issues for the user. At the end of the day you can side-step checks using a different SDK version or by modifying the SDK. The only thing that can really reject a package is the server.

dart pub publish --help
Publish the current package to pub.dev.

Usage: dart pub publish [options]
-h, --help               Print this usage information.
-n, --dry-run            Validate but do not publish the package.
-f, --force              Publish without confirmation if there are no errors.
    --skip-validation    Publish without validation (this will ignore errors).
-C, --directory=<dir>    Run this in the directory<dir>.

Run "dart help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-lish for detailed documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant