Skip to content

Commit

Permalink
Docs: Document npm-publish caveat with alpha releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Jul 12, 2024
1 parent 2c5d3a6 commit b5ba7a8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://www.npmjs.com/package/qunit?activeTab=versions>. 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 <https://www.npmjs.com/package/qunit>.
Verify that the release is displayed at <https://www.npmjs.com/package/qunit?activeTab=versions>.

7. Publish to the jQuery CDN:
Review the commit and push it:
Expand Down

0 comments on commit b5ba7a8

Please sign in to comment.