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

New page for pub bump #6196

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

New page for pub bump #6196

wants to merge 3 commits into from

Conversation

MaryaBelanger
Copy link
Contributor

Fixes #6147

Not sure if I wrote line 9 correctly: $ dart pub bump <subcommand> [arguments]

Let me know if any other info would be helpful to include!

@dart-github-bot
Copy link
Collaborator

dart-github-bot commented Nov 6, 2024

Visit the preview URL for this PR (updated for commit c5665d5):

https://dart-dev--pr6196-pub-bump-dp1ki9y4.web.app

$ dart pub bump <subcommand> [arguments]
```

This command increments the verion number of the current package.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This command increments the verion number of the current package.
This command increments the version number of the current package.

Comment on lines +13 to +14
It allows the subcommands `breaking`, `major`, `minor`,
and `patch` to increment only a specific part of the version number.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It allows the subcommands `breaking`, `major`, `minor`,
and `patch` to increment only a specific part of the version number.
Use one of the subcommands `breaking`, `major`, `minor`,
or `patch` according to the type of increment desired.
Refer to [semver](https://semver.org/spec/v2.0.0-rc.1.html) for guidance on versioning your package.

_Bump_ is one of the commands of the [pub tool](/tools/pub/cmd).

```plaintext
$ dart pub bump <subcommand> [arguments]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command currently doesn't have any arguments you can pass

Suggested change
$ dart pub bump <subcommand> [arguments]
$ dart pub bump <subcommand>

Comment on lines +33 to +36
### `-n, --dry-run`

Reports what would change for the version number, and shows the version diff,
without changing anything.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not actually implemented (perhaps it should be though...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add documentation for dart pub bump
3 participants