From 2414454c9fc2b8dff2529f28fef8dc0023d3bab2 Mon Sep 17 00:00:00 2001 From: Marcin Michniewicz <45601541+aibcmars@users.noreply.github.com> Date: Tue, 20 Oct 2020 10:52:26 +0200 Subject: [PATCH] [DOC] Add info about npm publish (#788) --- docs/development/maintainers.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/development/maintainers.md b/docs/development/maintainers.md index 599109ee4d..e23f3fa0a7 100644 --- a/docs/development/maintainers.md +++ b/docs/development/maintainers.md @@ -51,6 +51,13 @@ of the `Done` column related to the milestone - put screenshots/gif of the new features - Published the release **only when you are done** with the release content. At any time, you can save the draft +### NPM publish new version +- Ensure you are on the last tag locally: `git checkout vX.Y.Z` +- Pull the new version created by the release workflow: `git pull origin` +- Build bundles by running: `npm run build-bundles` +- Check build locally by accessing `/bpmn-visu-js/test-bundle/lib-integration-iife.html` in your browser +- If everything is OK run `npm publish` to make the new version available to the community (you can pass --dry-run to validate command prior publishing) + ## bpmn-visualization-examples repository update