Improve publish-npm script (#1268)
Improve publish-npm script (#1268)

Don't publish to npm if git tagging fails.

DEV
tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs-core,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs-core,tensorflow/tfjs,tensorflow/tfjs