Skip to content

Commit

Permalink
fix: Reset version number after every publish (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl authored Oct 3, 2019
1 parent 7818aec commit f24f82f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/feathers/lib/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '4.3.3';
module.exports = 'development';
6 changes: 4 additions & 2 deletions packages/feathers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
},
"scripts": {
"test": "mocha --opts ../../mocha.opts",
"update-version": "node -e \"console.log('module.exports = \\'' + require('./package.json').version + '\\';')\" > lib/version.js",
"version": "npm run update-version"
"write-version": "node -e \"console.log('module.exports = \\'' + require('./package.json').version + '\\';')\" > lib/version.js",
"reset-version": "node -e \"console.log('module.exports = \\'development\\';')\" > lib/version.js",
"version": "npm run write-version",
"publish": "npm run reset-version"
},
"engines": {
"node": ">= 6"
Expand Down

0 comments on commit f24f82f

Please sign in to comment.