forked from ampproject/worker-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* gren => np * Remove Changelog until further notice * Updated directions
- Loading branch information
1 parent
59bb387
commit bfb8650
Showing
3 changed files
with
6 additions
and
59 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,19 +1,16 @@ | ||
# Releasing | ||
|
||
Most of the manual steps for releasing this library are (hopefully) abstracted away by | ||
leveraging `github-release-notes` to automatically generate an updated `CHANGELOG.md` | ||
leveraging `np` to automatically update `package.json` and generate an updated changelist | ||
based on commits since the last active tag. | ||
|
||
### Release Pre-Requisites: | ||
|
||
1. Follow the [directions](https://github.com/github-tools/github-release-notes#setup) | ||
to setup a `Github token` for release scripts to leverage. | ||
2. Enable [two-factor authentication for your NPM account](https://docs.npmjs.com/configuring-two-factor-authentication). | ||
3. Ensure you are part of the 'Administration' Group for the NPM `@ampproject` organization. | ||
1. Enable [two-factor authentication for your NPM account](https://docs.npmjs.com/configuring-two-factor-authentication). | ||
2. Ensure you are part of the 'Administration' Group for the NPM `@ampproject` organization. | ||
|
||
### Release an Update: | ||
|
||
1. Ensure all tests are passing `npm run test`. The release scripts will not proceed | ||
if any test fails. | ||
2. Bump the [semantic version](https://semver.org/) in `package.json`. | ||
3. Execute in your terminal: `npm run release`. | ||
2. Execute in your terminal: `npm run release`. |
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