Skip to content

Commit

Permalink
ci: ensure shell script exits on command failure (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
tien authored Sep 9, 2024
1 parent 523e6a4 commit c166e74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/publish-snapshot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

# Check if LICENSE file exists in the root directory
if [ ! -f LICENSE ]; then
echo "LICENSE file not found in the root directory."
Expand Down
2 changes: 2 additions & 0 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

# Check if LICENSE file exists in the root directory
if [ ! -f LICENSE ]; then
echo "LICENSE file not found in the root directory."
Expand Down

0 comments on commit c166e74

Please sign in to comment.