Skip to content

Commit

Permalink
Update update-changelogs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou authored Jan 9, 2025
1 parent 3e50d68 commit ef24fa5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/update-changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
build:
name: Create Release
name: Update Change Logs
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -53,9 +53,8 @@ jobs:
echo "# 📜 Change Log" > ./docs/changelog.md
echo "" >> ./docs/changelog.md
current_month=$(date +"%B %Y")
echo "# ${current_month}" >> ./docs/changelog.md
echo "# ${{ github.event.milestone.title }}" | sed 's/#/##/g' >> ./docs/changelog.md
echo "${{ steps.read_release_file.outputs.content }}" | sed 's/#/##/g' >> ./docs/changelog.md
echo "## ${current_month}" >> ./docs/changelog.md
echo "${{ steps.read_release_file.outputs.content }}" | sed 's/^#/##/g' >> ./docs/changelog.md
cat changelog_tmp.md >> ./docs/changelog.md
- name: Pushes docs
Expand Down

0 comments on commit ef24fa5

Please sign in to comment.