First of all it's _backward incompatible_ due to use of "host" + "remote_path" instead of sole "host".
People will have to change this one thing in their package.json (but only _once_ versus _always maintaining second version tag_).
The idea behind this patch is to facilitate "remote_path" property understood by node-pre-gyp which supports variable substitution. But then the node-pre-gyp will package under the "{stage_dir}/{remote_path}" so I had to modify file search path in uploadAssets.
I also added the custom --tag option along with the readme update.
Additionally I've ensured that the only access for the token you need is public_repo and repo_deployment.
Based on #10
First of all it's _backward incompatible_ due to use of "host" + "remote_path" instead of sole "host". People will have to change this one thing in their
package.json
(but only _once_ versus _always maintaining second version tag_).The idea behind this patch is to facilitate "remote_path" property understood by node-pre-gyp which supports variable substitution. But then the node-pre-gyp will package under the
"{stage_dir}/{remote_path}"
so I had to modify file search path inuploadAssets
.I also added the custom --tag option along with the readme update.
Additionally I've ensured that the only access for the token you need is
public_repo
andrepo_deployment
.