File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2020 "verify-definitions" : " scripty" ,
2121 "scrape-definitions" : " nodenv update-version-defs --destination $PWD/share/node-build/" ,
2222 "submit-definitions" : " scripty -r" ,
23- "publish:brew" : " brew-publish $npm_package_name v$npm_package_version" ,
23+ "publish" : " scripty" ,
24+ "publish:brew" : " scripty" ,
2425 "publish:github" : " scripty" ,
2526 "preversion" : " scripty" ,
26- "postversion" : " npm run publish:github && npm run publish:brew "
27+ "postversion" : " npm publish"
2728 },
2829 "devDependencies" : {
2930 "@nodenv/node-build-update-defs" : " ^2.2.0" ,
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+ # Usage: script/publish/brew <name> <version>
3+ #
4+ # - opens PR to update version in homebrew
5+
6+ set -e
7+
8+ pkg_name=${1:- $npm_package_name }
9+ pkg_version=${2:- $npm_package_version }
10+
11+ brew-publish $pkg_name v$pkg_version
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
2- # Usage: script/release- github <version>
2+ # Usage: script/publish/ github <version>
33#
44# - creates a Release on github
55
You can’t perform that action at this time.
0 commit comments