Skip to content

Commit

Permalink
fix empty line check
Browse files Browse the repository at this point in the history
  • Loading branch information
ziodave committed Nov 2, 2022
1 parent dcec071 commit 23ba95c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
echo ${{ secrets.DOCKER_TOKEN }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin
logs=$(git log --reverse --since="$since" --pretty=tformat:"%C(auto)%h %s" --grep="\[bitnami/wordpress-nginx\] [R|r]elease" --author [email protected] --author [email protected] --author [email protected] || true)
while IFS= read -r log && [[ !-z "$log" ]]; do
while IFS= read -r log; do
[ -z "$log" ] && continue
commit=$(echo $log | cut -f1 -d' ')
tag=$(echo $log | cut -f4 -d' ')
Expand Down

0 comments on commit 23ba95c

Please sign in to comment.