From 26171d33853460066fb866e4c72a5b2d3b758e2a Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Mon, 7 Oct 2024 16:00:43 -0700 Subject: [PATCH] Add release instructions based on what dfreedm and I figured out. (#5743) --- RELEASING.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 RELEASING.md diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 000000000..951074f4d --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,16 @@ +## How to release a new version of Polymer + +- `npm ci` +- `npm i -g np` +- `npx gulp update-version` +- Update CHANGELOG.md +- Edit package.json back to the previous version so that `np` can be the one + to bump the version. +- `np --yolo --preview` + - Ensures that you have permission, does a final check of all the steps. +- `npm pack` and diff the tgz's contents against the previous version's. + We release a new version of Polymer rarely enough that it's worth it to be + careful. +- `np --yolo` +- After it completes successfully it will open the GitHub releases page for + your new version. Edit the changelist there to remove irrelevent entries and publish.