Skip to content

Commit

Permalink
Bump version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed May 25, 2018
1 parent eaa2f6c commit 0d4421c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HEAD
# 1.0.0

## Features
* **css:** Compile protocol-extra.css bundle (#120)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To use Protocol in your website you can install the core package directly from N
npm install @mozilla-protocol/core --save
```

Alternatively, you can also [download the latest release]( https://github.com/mozilla/protocol/releases/latest) from GitHub.
Alternatively, you can also [download the latest release](https://github.com/mozilla/protocol/releases/latest) from GitHub.

## Usage

Expand Down
16 changes: 11 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
[demo-default]: https://mozilla-protocol.netlify.com/patterns/organisms/article.html
[demo-collection]: https://mozilla-protocol.netlify.com/patterns/atoms/typographic.html
[demo-blank]: https://mozilla-protocol.netlify.com/demos/type-scale.html
[package.json]: https://github.com/mozilla/protocol/blob/master/src/assets/package/package.json
[releases]: https://github.com/mozilla/protocol/releases/latest
[readme]: https://github.com/mozilla/protocol/blob/master/src/assets/package/README.md
[changelog]: https://github.com/mozilla/protocol/blob/master/CHANGELOG.md

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
Expand Down Expand Up @@ -492,11 +496,13 @@ The build sequence consists of a small set of [Gulp][gulp] tasks. While you'll p

Protocol is published to NPM under the `@mozilla-protocol/core` namespace/package name. To publish a release to NPM, use the following steps:

1. Update the `version` number in `./src/assets/package/package.json` (use [Semantic Versioning][semver] to determine what the new version number should be).
2. Make sure the version number is commited to `master` in Git.
3. Tag a new release. You can do this either using [Git tag][git-tag], or directly on the [GitHub website][releases].
4. Run `gulp build` to create the NPM package. The package contents will be located in `./dist/assets/protocol/`.
5. Publish to NPM using `npm publish ./dist/assets/protocol/`.
1. Update the `version` number in [package.json][package.json] (use [Semantic Versioning][semver] to determine what the new version number should be).
2. Update the accompanying [README.md][readme].
3. Make sure [CHANGELOG.md][changelog] is also up to date.
4. Commit the changes to the `master` branch.
5. Tag a new release. You can do this either using [Git tag][git-tag], or directly on the [GitHub website][releases].
6. Run `gulp build` to create the NPM package. The package contents will be located in `./dist/assets/protocol/`.
7. Publish to NPM using `npm publish ./dist/assets/protocol/`.

# Acknowledgements

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protocol",
"version": "0.1.3",
"version": "1.0.0",
"private": true,
"author": "Mozilla",
"description": "A design system for Mozilla's websites.",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Install package with NPM and add it to your dependencies:
</tr>
<tr>
<td>Version</td>
<td>[0.1.2](https://github.com/mozilla/protocol/blob/master/CHANGELOG.md)</td>
<td>[1.0.0](https://github.com/mozilla/protocol/blob/master/CHANGELOG.md)</td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion src/assets/package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mozilla-protocol/core",
"version": "0.1.2",
"version": "1.0.0",
"description": "A design system for Mozilla's websites.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 0d4421c

Please # to comment.