Skip to content

Commit

Permalink
Modify workflow to generate release notes markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
BbqGamer committed Oct 27, 2023
1 parent 36ddbfc commit 45861ba
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,19 @@ jobs:

- name: Install MkDocs and dependencies
run: |
pip install mkdocs
pip install mkdocs-material
- name: Create release notes file
run: |
mkdir -p ./docs/release-notes
echo -e "---\ntitle: ${{ github.event.release.name }}\n---\n" > ./docs/release-notes/${{ github.event.release.tag_name }}.md
printf "%s" '${{ github.event.release.body }}' >> ./docs/release-notes/${{ github.event.release.tag_name }}.md
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Write release notes to documentation
file_pattern: './docs/release-notes'
skip_checkout: true

- name: Build MkDocs Configuration
run: |
Expand Down

0 comments on commit 45861ba

Please sign in to comment.