Skip to content

Commit

Permalink
PR review: add pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Jun 30, 2024
1 parent 02104db commit af58264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/fetch_extensions.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -eo pipefail

rm -rf build
for extension_folder in extensions/*;
do
Expand Down
2 changes: 2 additions & 0 deletions scripts/generate_md.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Example of use
# ./scripts/generated_docs_readme.sh build/release/duckdb

set -eo pipefail

platform=$($1 -csv -c "PRAGMA platform" | tail -n1)
version_raw=$($1 -csv -c "PRAGMA version" | tail -n1)
version=$(echo "$version_raw-,$version_raw" | cut -d '-' -f 2 | cut -d ',' -f 2)
Expand Down

0 comments on commit af58264

Please sign in to comment.