npmpub icon indicating copy to clipboard operation
npmpub copied to clipboard

Check current branch

Open wclr opened this issue 9 years ago • 4 comments

Is it possible to check current branch?

wclr avatar Mar 15 '16 14:03 wclr

What do you mean by check? --dry is not enough?

MoOx avatar Mar 15 '16 15:03 MoOx

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.

wclr avatar Mar 15 '16 16:03 wclr

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 :)

MoOx avatar Mar 15 '16 16:03 MoOx

ok, there is https://github.com/inikulin/publish-please for some inspiration ;)

wclr avatar Mar 15 '16 19:03 wclr