File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " pump.io" ,
3
3
"preferGlobal" : " true" ,
4
4
"homepage" : " http://pump.io/" ,
5
- "version" : " 5.0.0-alpha .0" ,
5
+ "version" : " 5.0.0-beta .0" ,
6
6
"author" :
" Evan Prodromou <[email protected] >" ,
7
7
"description" : " Social server with an ActivityStreams API" ,
8
8
"devDependencies" : {
95
95
"prepublish" : " npm run build" ,
96
96
"version" : " npm run version:check-branch && npm run update-docs && git add README.md doc/" ,
97
97
"version:check-branch" : " if [ \" $(git symbolic-ref HEAD)\" = refs/heads/master ]; then echo 'refusing to run `npm version` on master; bump package.json manually' 1>&2; exit 1; fi" ,
98
- "postversion" : " git push origin v$npm_package_version && echo $npm_package_version | grep beta > /dev/null || git push --set-upstream origin $(git symbolic-ref --short HEAD)"
98
+ "postversion" : " npm run postversion:push" ,
99
+ "postversion:push" : " git push origin v$npm_package_version && npm run --silent util:is-beta || git push --set-upstream origin $(git symbolic-ref --short HEAD)" ,
100
+ "util:is-beta" : " echo $npm_package_version | grep beta > /dev/null"
99
101
},
100
102
"repository" : {
101
103
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments