Fix m.version to not depend on package.json (#2464)
* Fix `m.version` to not depend on `package.json` Created an accidental breaking change. * Update changelog * Fix a failing test
This commit is contained in:
parent
1f4b2cf49a
commit
1434ba313f
7 changed files with 13 additions and 15 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"cover": "istanbul cover --print both ospec/bin/ospec",
|
||||
"release": "npm version -m 'v%s'",
|
||||
"preversion": "npm run test",
|
||||
"version": "npm run build && git add mithril.js mithril.min.js",
|
||||
"version": "node scripts/update-version && npm run build && git add index.js mithril.js mithril.min.js",
|
||||
"postversion": "git push --follow-tags"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue