Skip to content

Commit

Permalink
docs: add dist-tag info to maintaining docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Jan 5, 2024
1 parent 980df5f commit f59bbfe
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion MAINTAINING.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,26 @@ We’ll be using Lerna’s `--no-push` flag so that Lerna does not push git tags
Ensure you have authenticated with npmjs.com using `npm login`.
Then, while your local git working area is clean of changes and `HEAD` is pointing to the commit created in step 1, have Lerna build, prepare, package and publish your release with:
Then, while your local git working area is clean of changes and `HEAD` is pointing to the commit created in step 1, have Lerna build, prepare, package and publish your release.
For a new prerelease version, specify the `canary` dist-tag with:
```
npx lerna publish --dist-tag canary from-git
```
Otherwise, use:
```
npx lerna publish from-git
```
Maintainers will need permission to publish to `next-drupal` on npmjs.com. http://npmjs.com/package/next-drupal
4. **Confirm the release**
Look at the “Current Tags” section of [next-drupal’s npmjs page](https://www.npmjs.com/package/next-drupal?activeTab=versions) and confirm that the newest release is listed and that the `latest` tag and the `canary` tag point at the expected versions.
For more information, see Lerna’s [version docs](https://github.com/lerna/lerna/tree/main/libs/commands/version) and [publish docs](https://github.com/lerna/lerna/tree/main/libs/commands/publish).
### Examples
Expand Down

0 comments on commit f59bbfe

Please sign in to comment.