From 37bae17038e6a332fd1578652c8072f1c7387ba9 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 16 Apr 2020 12:08:59 +0200 Subject: [PATCH] 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. --- CONTRIBUTING.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e34eee92d428a..de3f5eb018b54 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -271,22 +271,16 @@ Releasing to npm consists of the following phases: ## Updating npm dist tags -For both `puppeteer` and `puppeteer-core` we maintain the following npm tags: - -- `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. +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. 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: ```bash -# list tags +# List tags $ npm dist-tag ls puppeteer -# Removing a tag -$ npm dist-tag rm puppeteer-core chrome-stable -# Adding a tag -$ npm dist-tag add puppeteer-core@1.13.0 chrome-stable +# Add tags +$ npm dist-tag add puppeteer@3.0.0 chrome-81 +$ npm dist-tag add puppeteer-core@3.0.0 chrome-81 ```