Make publish less able to leave files in bad state
This commit is contained in:
parent
26f5178d06
commit
e98ffa8c8e
|
@ -28,6 +28,4 @@ bundle: clean
|
||||||
publish: bundle
|
publish: bundle
|
||||||
mv binding.gyp binding.gyp.bak
|
mv binding.gyp binding.gyp.bak
|
||||||
cp binding.dist.gyp binding.gyp
|
cp binding.dist.gyp binding.gyp
|
||||||
npm publish
|
npm publish && mv binding.gyp.bak binding.gyp || mv binding.gyp.bak binding.gyp
|
||||||
mv binding.gyp binding.dist.gyp
|
|
||||||
mv binding.gyp.bak binding.gyp
|
|
||||||
|
|
Loading…
Reference in New Issue