-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "pump.io", | ||
"preferGlobal": "true", | ||
"homepage": "http://pump.io/", | ||
"version": "5.0.0-alpha.0", | ||
"version": "5.0.0-beta.0", | ||
"author": "Evan Prodromou <[email protected]>", | ||
"description": "Social server with an ActivityStreams API", | ||
"devDependencies": { | ||
|
@@ -95,7 +95,9 @@ | |
"prepublish": "npm run build", | ||
"version": "npm run version:check-branch && npm run update-docs && git add README.md doc/", | ||
"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", | ||
"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)" | ||
"postversion": "npm run postversion:push", | ||
"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)", | ||
"util:is-beta": "echo $npm_package_version | grep beta > /dev/null" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|