Skip to content

Conversation

stestagg
Copy link
Contributor

Currently, if the build fails (or some other part of the script), it will happily continue and force push the result to the destination.

Adding set -e makes sh terminate the script after any errors

This change makes the script immediately exit if any part of it fails
@JamesIves
Copy link
Owner

Looks great! Thanks for the PR.

@JamesIves JamesIves merged commit 561f843 into JamesIves:master Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants