Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Jul 18, 2024
1 parent 443a957 commit d0d8b98
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/backfill-changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,9 @@ jobs:
}
const allReleases = await getAllReleases();
allReleases.sort((a, b) => new Date(a.published_at) - new Date(b.published_at));
return JSON.stringify(allReleases.map(release => ({
console.log(allReleases.map(release => ({
tag_name: release.tag_name,
name: release.name,
body: release.body.replace(/\n/g, '\\n').replace(/"/g, '\\"'), // Replace newlines and escape quotes
published_at: release.published_at
})));
- name: Output releases
run: |
echo "Releases output:"
echo '${{ steps.get_releases.outputs.result }}' | jq .

0 comments on commit d0d8b98

Please sign in to comment.