From 9836c60dae14962905f78ee255cc31b5df0d59a3 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Thu, 22 Mar 2018 20:17:57 +0100 Subject: [PATCH] docs(scripts): deploy --- .scripts/README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.scripts/README.md b/.scripts/README.md index 957f910bd6..e7e8ddea1a 100644 --- a/.scripts/README.md +++ b/.scripts/README.md @@ -1 +1,26 @@ -# Build Scripts \ No newline at end of file +# Build Scripts + +## Deploy + +The deploy scripts at the root, make a new release of all the packages in this monorepo. +All packages will be released with the same version. + +In order to make a new release: + +1. `npm run prepare.deploy` +2. Review/update changelog +3. Commit updates using the package name and version number as the commit message. +4. `npm run deploy` +5. :tada: + + +## Prerelease + +It's also possible to make prereleases of individual packages (@ionic/core, @ionic/angular). +In order to do so, move to the package you want to make a new release and execute: +``` +npm run prerelease +``` + +It will publish a new prerelease in NPM, but it will not create any new git tag +or update the CHANGELOG.