From 3a58cbe836c6f7ef3aed66393b6eeef510d69a86 Mon Sep 17 00:00:00 2001 From: bduran Date: Fri, 25 Oct 2024 13:31:53 -0700 Subject: [PATCH] add release doc --- docs/RELEASE.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 0c6d95d..a85d25f 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -16,4 +16,13 @@ This project utilizes [Lerna](https://lerna.js.org/docs/features/version-and-pub If you want to do a pre-release to test out functionality in other projects, you can publish a pre-release candidate to npm: -- e.g. `npx lerna publish --preid=alpha` +`npx lerna publish --preid=alpha --dist-tag=alpha` + +This will bump the version patch and appends the version with `-alpha` and tag the package release on npm with `alpha` + +If you accidentally published a release with the wrong tag you can run something like the following: + +``` +npm dist-tag add @nasa-jpl/stellar@version.prior.to.goof latest +npm dist-tag add @nasa-jpl/stellar@1.0.1-foo.0 foo +```