-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from dkniffin/update-readme-and-contributing
Update README and CONTRIBUTING.md
- Loading branch information
Showing
2 changed files
with
62 additions
and
11 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 |
---|---|---|
@@ -1,11 +1,45 @@ | ||
## Contributing | ||
# Contributing | ||
|
||
Thank you for considering a contribution to this project! | ||
|
||
## Create an issue | ||
|
||
If you find an issue, or you'd like to request a new feature, [open a github issue](https://github.com/dkniffin/active_material/issues/new). | ||
|
||
## Submit a pull request | ||
|
||
If you know how to make the change, please submit a pull request (PR). This makes it much easier to | ||
accept the change | ||
|
||
1. Fork it ( https://github.com/[my-github-username]/active_material/fork ) | ||
2. Create your feature branch (`git checkout -b my-new-feature`) | ||
3. Commit your changes (`git commit -am "Add some feature"`) | ||
4. Push to the branch (`git push origin my-new-feature`) | ||
5. Create a new Pull Request | ||
|
||
### Issue and PR reviews | ||
In order for the PR to be merged, the test suite must pass, there must be no conflicts on the | ||
merge, and it must be merged by a maintainer. | ||
|
||
## Issue and PR reviews | ||
|
||
Another way you can help is by reviewing issues, trying to reproduce bugs, and providing feedback on PRs. | ||
|
||
## Pushing a new version | ||
|
||
First, you must be authorized on both rubygems.org and npmjs.com. Then: | ||
|
||
1. Update the ruby gem: | ||
- Update the version in `lib/active_material/version.rb` | ||
- `gem build active_material.gemspec` | ||
- `gem push active_material-X.Y.Z.gem` | ||
|
||
2. Update the npm package: | ||
- Update the version in `package.json` | ||
- `npm publish` | ||
|
||
3. Update the changelog. | ||
|
||
4. Tag the version in git: | ||
- `git tag X.Y.Z` | ||
- Add the same text as the changelog to the tag description | ||
- `git push origin X.Y.Z` |
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