stojanovic / scottyjs

Deploy static websites and single page apps to AWS S3 and CloudFront with a single command
http://medium.com/@slobodan/single-command-deployment-for-single-page-apps-29941d62ef97
MIT License
707 stars 37 forks source link

Fixed exit code so that CI systems don't bail after running scotty #10

Closed dijitalmunky closed 7 years ago

dijitalmunky commented 7 years ago

We found that when running scotty and everything was uploaded and went fine that our CI system still failed the build. Upon inspection, we noticed that scotty was returning a non-zero exit code, which was tell the CI server that scotty failed. This fixes that so scotty only exits with a non 0 upon error.

stojanovic commented 7 years ago

Awesome, thanks. I'll push new version on NPM later today.

dijitalmunky commented 7 years ago

Awesome!

stojanovic commented 7 years ago

Published on NPM in v1.5.0, changelog: https://github.com/stojanovic/scottyjs/releases/tag/v1.5.0.

Thanks!