mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(contributing): update npm dist tags section (#5650)
The chrome-stable tags haven't been updated in a long time. This patch updates the documentation to reflect this reality.
This commit is contained in:
parent
80348dc574
commit
37bae17038
@ -271,22 +271,16 @@ Releasing to npm consists of the following phases:
|
|||||||
|
|
||||||
## Updating npm dist tags
|
## Updating npm dist tags
|
||||||
|
|
||||||
For both `puppeteer` and `puppeteer-core` we maintain the following npm tags:
|
For both `puppeteer` and `puppeteer-core` we maintain `chrome-*` npm dist tags, e.g. `chrome-75` and so on. These tags match the Puppeteer version that corresponds to the `chrome-*` release.
|
||||||
|
|
||||||
- `chrome-*` tags, e.g. `chrome-75` and so on. These tags match the Puppeteer version that corresponds to the `chrome-*` release.
|
|
||||||
- `chrome-stable` tag. This tag points to the Puppeteer version that works with the current Chrome stable release.
|
|
||||||
|
|
||||||
These tags are updated on every Puppeteer release.
|
These tags are updated on every Puppeteer release.
|
||||||
|
|
||||||
> **NOTE**: due to Chrome's rolling release, we take [omahaproxy's linux stable version](https://omahaproxy.appspot.com/) as *stable*.
|
|
||||||
|
|
||||||
Managing tags 101:
|
Managing tags 101:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# list tags
|
# List tags
|
||||||
$ npm dist-tag ls puppeteer
|
$ npm dist-tag ls puppeteer
|
||||||
# Removing a tag
|
# Add tags
|
||||||
$ npm dist-tag rm puppeteer-core chrome-stable
|
$ npm dist-tag add puppeteer@3.0.0 chrome-81
|
||||||
# Adding a tag
|
$ npm dist-tag add puppeteer-core@3.0.0 chrome-81
|
||||||
$ npm dist-tag add puppeteer-core@1.13.0 chrome-stable
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user