Skip to content
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

Mention new pub publish warning in "Publishing packages" #6247

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/content/tools/pub/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ With this command, `dart pub` performs the following tasks:

1. Shows all of the files it intends to publish.

The following example shows the publishing a package named `transmogrify`:
The following example shows test publishing a package named `transmogrify`:

```plaintext
Publishing transmogrify 1.0.0
Expand Down Expand Up @@ -219,6 +219,9 @@ With this command, `dart pub` performs the following tasks:
1. Verifies that your package follows the [pubspec format][pubspec] and
[package layout conventions][pkg-layout].

1. Validates that `git status` is clean (warns against publishing files that
are tracked in git, but have uncommitted changes).
MaryaBelanger marked this conversation as resolved.
Show resolved Hide resolved

1. Shows all of the files it intends to publish.

1. Uploads your package to [pub.dev]({{site.pub}}).
Expand All @@ -232,7 +235,7 @@ Once a package has been transferred to a publisher,
you can update the package using `dart pub publish`.
:::

After your package succeeded in uploading to pub.dev, any pub user can
After your package succeeds in uploading to pub.dev, any pub user can
download it or depend on it in their projects.

For example, if you just published version 1.0.0 of your `transmogrify` package,
Expand Down
Loading