Skip to content

Commit

Permalink
fix : iterate over categories of release
Browse files Browse the repository at this point in the history
  • Loading branch information
AdarshRawat1 committed Jul 8, 2024
1 parent 7acccc4 commit c752112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ChangelogUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
CATEGORIES=$(yq eval '.changelog.categories' .github/release.yml)
# Iterate over categories
for i in $(seq 0 $(echo "$CATEGORIES" | yq eval '. | length - 1' -)); do
for i in $(seq 0 $(echo "$CATEGORIES" | yq eval 'length' - 1)); do
TITLE=$(echo "$CATEGORIES" | yq eval ".[$i].title" -)
LABELS=$(echo "$CATEGORIES" | yq eval ".[$i].labels[]" -)
CHANGELOG="${CHANGELOG}### ${TITLE}\n"
Expand Down

0 comments on commit c752112

Please sign in to comment.