Make publish less able to leave files in bad state

This commit is contained in:
dancoffman 2022-11-07 14:37:46 -08:00
parent 26f5178d06
commit e98ffa8c8e
No known key found for this signature in database
GPG Key ID: 47B1F53E36A9B3CC
1 changed files with 1 additions and 3 deletions

View File

@ -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