Skip to content

Commit

Permalink
Mention new pub publish warning in "Publishing packages" (#6247)
Browse files Browse the repository at this point in the history
Fixes #6232 (fixed some random typos too)

---------

Co-authored-by: Parker Lougheed <[email protected]>
  • Loading branch information
MaryaBelanger and parlough authored Dec 6, 2024
1 parent 8af2d64 commit 559bdaa
Showing 1 changed file with 5 additions and 2 deletions.
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 if
files that are tracked in git have uncommitted changes.

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

0 comments on commit 559bdaa

Please sign in to comment.