npmpub
npmpub copied to clipboard
Check current branch
Is it possible to check current branch?
What do you mean by check? --dry is not enough?
will it check that its is a correct branch? if I forget to switch to master, but on some feature branch that pases tests, but not intented to be publish.
This is a good idea, we should check that we are on master (or any user defined via a flag) branch.
PR welcome. Or maybe I will handle it some day :)
ok, there is https://github.com/inikulin/publish-please for some inspiration ;)