-
Notifications
You must be signed in to change notification settings - Fork 700
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
base: main
Are you sure you want to change the base?
New page for pub bump #6196
Conversation
Visit the preview URL for this PR (updated for commit c5665d5): |
$ dart pub bump <subcommand> [arguments] | ||
``` | ||
|
||
This command increments the verion number of the current package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command increments the verion number of the current package. | |
This command increments the version number of the current package. |
It allows the subcommands `breaking`, `major`, `minor`, | ||
and `patch` to increment only a specific part of the version number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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] |
There was a problem hiding this comment.
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
$ dart pub bump <subcommand> [arguments] | |
$ dart pub bump <subcommand> |
### `-n, --dry-run` | ||
|
||
Reports what would change for the version number, and shows the version diff, | ||
without changing anything. |
There was a problem hiding this comment.
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...)
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!