-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release instructions based on what dfreedm and I figured out.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |