Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add publish/release instructions #148

Merged
merged 3 commits into from Jul 13, 2018
Merged

Add publish/release instructions #148

merged 3 commits into from Jul 13, 2018

Conversation

mjangda
Copy link
Member

@mjangda mjangda commented Jul 12, 2018

No description provided.

@mjangda mjangda requested a review from joshbetz July 12, 2018 20:49
CONTRIBUTING.md Outdated

### Major / Minor Versions

1. Set the version: `npm version minor` or `npm version major`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You most likely usually want npm version patch or npm version minor. I suspect it will be a while before we do a 2.0.0.

CONTRIBUTING.md Outdated

### Patch Version

For a critical fix, we can `git checkout` a previous release and cherry-pick or apply specific changes. This is especially useful for security releases and if there are already some bigger changes in the master branch and you don't want to push a normal release.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also useful if there's a security fix and we want to patch multiple minor versions. 1.0.0 -> 1.0.1 and 1.1.0 -> 1.1.1 for example.

CONTRIBUTING.md Outdated

## Releasing

Note: We use `publish-release` for some pre-publish confidence checks to avoid common mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add some details about the prepareConfig:publish and why we use prepack for it.

Including considerations for config and clearer details on patching.
@mjangda mjangda merged commit 2af1588 into master Jul 13, 2018
@mjangda mjangda deleted the add/release-instructions branch July 13, 2018 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants