Skip to content

Commit

Permalink
patch failing changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Dec 3, 2024
1 parent 5fb9631 commit 402efb2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/zenodo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ jobs:
name=$(basename *.zip)
echo "ZENODO_ARCHIVE=${name}" >> $GITHUB_ENV
# if changelogs fail to generate, silently ignore
# prefer a partially generated release than none at all
- name: Generate Changelog
id: zenodo_metadata
env:
REPORTS_DIR: ${{ github.workspace }}/reports
CHANGES_HTML: ${{ github.workspace }}/reports/CHANGES_${{ github.ref_name }}.html
run: |
make generate-changes-html VERSION=${{ github.ref_name }}
echo "ZENODO_DESCRIPTION=$(cat reports/CHANGES_${{ github.ref_name }}.html | tr -d '\n')" >> $GITHUB_ENV
echo "ZENODO_DESCRIPTION=$(cat ${{ env.CHANGES_HTML }} | tr -d '\n' || echo '')" >> $GITHUB_ENV
- name: Run Zenodo Publish
id: deploy_zenodo
Expand Down

0 comments on commit 402efb2

Please sign in to comment.