iarna / in-publish

Detect if we were run as a result of `npm publish`.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

document script misleading

jchip opened this issue · comments

$ [ "in" == "in" ] && [ "check" == "fail" ] || echo not in
not in

$ [ "not" == "in" ] && [ "fail" == "yes" ] || echo publish
publish