Skip to content

Commit

Permalink
Ignore empty lines in packages_by_dep_dag file
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Jan 30, 2024
1 parent 34fab93 commit adf175f
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions packages/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ cd "$(dirname "$0")"

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

cd "$package_dir"

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

cd ..
if [ -n "$package_dir" ]
then
printf "\n========= RELEASING PACKAGE %s =========\n\n" "$package_dir"

cd "$package_dir"

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

cd ..
fi
done < packages_by_dep_dag.txt

0 comments on commit adf175f

Please sign in to comment.