8000 chore: add release script to simplify versioning · MithrilJS/mithril.js@9c8cc83 · GitHub
[go: up one dir, main page]

Skip to 65F4 content

Commit 9c8cc83

Browse files
committed
chore: add release script to simplify versioning
1 parent ad14407 commit 9c8cc83

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"test": "node ospec/bin/ospec",
1919
"posttest": "npm run lint || true",
2020
"cover": "istanbul cover --print both ospec/bin/ospec",
21-
"preversion": "npm run build && npm run test",
22-
"version": "npm run gendocs && git add mithril.js mithril.min.js",
21+
"release": "npm version -m 'v%s'",
22+
"preversion": "npm run test",
23+
"version": "npm run build && git add mithril.js mithril.min.js",
2324
"postversion": "git push --follow-tags"
2425
},
2526
"devDependencies": {

0 commit comments

Comments
 (0)
0