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

Fix missing --patch flag #1164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
11 changes: 6 additions & 5 deletions lang/en/docs/cli/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ For example, starting with this package.json `package.json`:
}
```

When we run the `yarn version` command:
When we run the `yarn version --patch` command:

```sh
yarn version
yarn version --patch
```

```
Expand All @@ -46,9 +46,6 @@ We will get this updated `package.json`:
}
```

> **Note:** The new version you enter must be a valid
> [SemVer]({{url_base}}/docs/dependency-versions#toc-semantic-versioning)
> version.

#### Git tags <a class="toc" id="toc-git-tags" href="#toc-git-tags"></a>

Expand Down Expand Up @@ -146,6 +143,10 @@ version.

Creates a new version specified by `<version>`.

> **Note:** The `<version>` you enter must be a valid
> [SemVer]({{url_base}}/docs/dependency-versions#toc-semantic-versioning)
> version.

##### `yarn version --major` <a class="toc" id="toc-yarn-version-major" href="#toc-yarn-version-major"></a>

##### `yarn version --minor` <a class="toc" id="toc-yarn-version-minor" href="#toc-yarn-version-minor"></a>
Expand Down