Skip to content

Commit

Permalink
Expose version
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Feb 11, 2016
1 parent c190934 commit 56b2899
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ The component will be provided with the following `attrs`:

### Developing ember-mobiledoc-editor

Releasing a new version:

* update version in `package.json` and `addon/version.js`
* `git commit -m "v<versionNumber>"`
* `git tag v<versionNumber>`
* `npm publish`

To get started:

* `git clone` this repository
Expand Down
8 changes: 8 additions & 0 deletions addon/version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import MOBILEDOC_KIT_VERSION from 'mobiledoc-kit/version';
const EDITOR_VERSION = '0.3.4';
const VERSION = {
EDITOR_VERSION,
MOBILEDOC_KIT_VERSION
};

export default VERSION;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"ember-cli-babel": "^5.1.3",
"ember-cli-htmlbars": "^1.0.0",
"ember-wormhole": "^0.3.4",
"mobiledoc-kit": "^0.8.3"
"mobiledoc-kit": "^0.8.5"
},
"ember-addon": {
"configPath": "tests/dummy/config"
Expand Down

0 comments on commit 56b2899

Please sign in to comment.