✨feature: Extract latest changelog entry for release notes and update .gitignore #release
Add release / Create release (push) Has been cancelled

This commit is contained in:
Keith Solomon committed 2025-03-26 09:26:38 -05:00
1 parent e8b0116ace
commit 6cb02fdf54
3 files changed
+12 -2

No files matched your search

+11 -2
View File
@@ -43,13 +43,22 @@ jobs:
run: |
echo "Tag to be created: ${{ steps.release-tag.outputs.tag }}"
- name: Extract latest changelog entry
id: extract-changelog
run: |
# Extract changelog for latest version section
changelog=$(awk '/^## /{i++} i==1{print}' CHANGELOG.md | tail -n +2)
echo "changelog<<EOF" >> "$GITHUB_OUTPUT"
echo "$changelog" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.release-tag.outputs.tag }}
name: Release ${{ steps.release-tag.outputs.tag }}
body: |
${{ github.event.head_commit.message }}
body: ${{ steps.extract-changelog.outputs.changelog }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1
View File
@@ -0,0 +1 @@
.DS_Store
View File
Whitespace-only changes.