Skip to content

Commit 8b5381e

Browse files
authored
ensures immediate return (#314)
1 parent 4a0f5ba commit 8b5381e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/cd.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Immediate exit on failure
4+
set -e
5+
36
# Check all pyproject.toml files that have changed
47
for file in $(git diff --name-only HEAD~1..HEAD | grep pyproject.toml); do
58
# Extract the current version and build the expected tag

0 commit comments

Comments
 (0)