Skip to content

Commit

Permalink
Merge pull request #17395 from jdavcs/23.2_build_packages_script
Browse files Browse the repository at this point in the history
[23.2] Ignore empty lines in packages_by_dep_dag file when building packages
  • Loading branch information
jdavcs authored Jan 31, 2024
2 parents 14a5046 + c1081c3 commit 7df2d78
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ cd "$(dirname "$0")"

# ensure ordered by dependency dag
while read -r package_dir; do
printf "\n========= RELEASING PACKAGE ${package_dir} =========\n\n"

if [ -z "$package_dir" ]; then
# Skip empty lines
continue
fi
printf "\n========= RELEASING PACKAGE %s =========\n\n" "$package_dir"

cd "$package_dir"

make clean
make commit-version
make dist
make new-version

cd ..
done < packages_by_dep_dag.txt

0 comments on commit 7df2d78

Please sign in to comment.