From b5ba7a89e8906975b545855e23b52f21d589f644 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 12 Jul 2024 02:29:33 +0100 Subject: [PATCH] Docs: Document npm-publish caveat with alpha releases --- RELEASE.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 6739f9cb5..4f1e16aaf 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -89,11 +89,19 @@ head qunit/qunit.js ``` 6. Publish to npm: + * Alpha releases: + ``` + npm publish --tag @VERSION + ``` + This will bundle the current directory and publish it to npm with the name and version specified in `package.json`. + Verify that the alpha version is included, but not as the default/latest, at . If you accidentally used regular `npm publish`, you can undo this by running `npm dist-tag add qunit@LAST_STABLE_VERSION latest`. + + * Stable releases: Create tag and update 'latest' alias ``` npm publish ```` This will bundle the current directory and publish it to npm with the name and version specified in `package.json`. - Verify that the release is displayed at . + Verify that the release is displayed at . 7. Publish to the jQuery CDN: Review the commit and push it: