Skip to content

Commit

Permalink
Improve release notes gathering (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
lildude authored Sep 22, 2024
1 parent c322306 commit 972f3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get Ghostfolio release notes
run: |
touch CHANGELOG.txt
last_release_date=$(gh release list --repo lildude/ha-addon-ghostfolio --limit=1 --json=publishedAt)
last_release_date=$(gh release list --repo lildude/ha-addon-ghostfolio --limit=1 --json=publishedAt | jq -r '.[].publishedAt')
gh pr list --repo lildude/ha-addon-ghostfolio --state=merged --search="Update Ghostfolio in:title closed:>$last_release_date" --limit=1 --json=body --jq '.[].body' | sed -n "/<\/summary>/,/<\/details>/p" | sed '1d;$d' > changelog.tmp
if [ -s changelog.tmp ]; then
echo "## Ghostfolio Release Notes" > CHANGELOG.txt
Expand Down

0 comments on commit 972f3f0

Please sign in to comment.