Skip to content

Commit

Permalink
remove more space.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Oct 23, 2024
1 parent 17dc429 commit 2c642ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ jobs:
echo -e "# CHANGELOGs\n" > CHANGELOG/README.md
fi
# Add the new changelog entry at the top of the README.md
if ! grep -q "\[$CHANGELOG_FILENAME\]" CHANGELOG/README.md; then
# Add the new changelog entry at the top of the README.md
if ! grep -q "\[$CHANGELOG_FILENAME\]" CHANGELOG/README.md; then
sed -i "3i- [$CHANGELOG_FILENAME](./$CHANGELOG_FILENAME)" CHANGELOG/README.md
# Remove the extra newline character added by sed
sed -i '4s/^\n//' CHANGELOG/README.md
fi
fi
fi
- name: Clean up
run: |
Expand Down

0 comments on commit 2c642ed

Please sign in to comment.