Skip to content

Commit 26171d3

Browse files
authored
Add release instructions based on what dfreedm and I figured out. (#5743)
1 parent 3d7e778 commit 26171d3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

RELEASING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## How to release a new version of Polymer
2+
3+
- `npm ci`
4+
- `npm i -g np`
5+
- `npx gulp update-version`
6+
- Update CHANGELOG.md
7+
- Edit package.json back to the previous version so that `np` can be the one
8+
to bump the version.
9+
- `np --yolo --preview`
10+
- Ensures that you have permission, does a final check of all the steps.
11+
- `npm pack` and diff the tgz's contents against the previous version's.
12+
We release a new version of Polymer rarely enough that it's worth it to be
13+
careful.
14+
- `np --yolo`
15+
- After it completes successfully it will open the GitHub releases page for
16+
your new version. Edit the changelist there to remove irrelevent entries and publish.

0 commit comments

Comments
 (0)