Skip to content

Commit

Permalink
chore(gha): Update sync-readme-changelog.yml (#932)
Browse files Browse the repository at this point in the history
chore(gha): Update sync-readme-changelog.yml
  • Loading branch information
JagadeeshKaricherla-branch authored Sep 14, 2023
1 parent ce035be commit 5b8921f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-readme-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
# Get release name, body, and date from the release event
release_name="${{ github.event.release.tag_name }}"
release_body="${{ github.event.release.body }}"
release_date=$(date -d "${{ github.event.release.published_at }}" +"%Y-%B-%d")
release_date=$(date -d "${{ github.event.release.published_at }}" +"%Y-%m-%d")
# Format release notes
formatted_notes="## $release_name\n\n**($release_date)**\n\n$release_body"
formatted_notes="## [$release_name] - $release_date\n\n$release_body"
# Get existing version history page
existing_content=$(curl --request GET \
Expand Down

0 comments on commit 5b8921f

Please sign in to comment.