31 lines
780 B
YAML
31 lines
780 B
YAML
name: 🚀 GitHub Release (Full Changelog)
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
create_release:
|
|
name: 📦 Release mit sauberem Markdown-Body
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 📥 Repository klonen
|
|
uses: actions/checkout@v4
|
|
|
|
- name: 🔧 Lade gesamten CHANGELOG.md-Inhalt
|
|
id: changelog
|
|
run: |
|
|
echo "body<<EOF" >> $GITHUB_OUTPUT
|
|
cat CHANGELOG.md >> $GITHUB_OUTPUT
|
|
echo "EOF" >> $GITHUB_OUTPUT
|
|
|
|
- name: 🚀 Release erstellen mit Markdown
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
name: ${{ github.ref_name }}
|
|
body: ${{ steps.changelog.outputs.body }}
|
|
files: CHANGELOG.md
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|