Release Notes #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Notes | |
on: | |
workflow_dispatch: | |
inputs: | |
previousVersion: | |
description: '[Optional] Starting ref (e.g. 8f462fa or v0.1.0)' | |
type: string | |
required: false | |
jobs: | |
create: | |
name: Create | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Print release notes | |
run: | | |
echo "```md" >> $GITHUB_STEP_SUMMARY | |
git log ${{ inputs.previousVersion || '$(git describe --tags --abbrev=0)' }}..HEAD --reverse --pretty --format="- %h **%an** %s" --follow src/ >> $GITHUB_STEP_SUMMARY | |
echo "```" >> $GITHUB_STEP_SUMMARY |