🔖 Release v1.4.6
This commit is contained in:
parent
0bc99bb4cf
commit
37439823d5
3 changed files with 39 additions and 36 deletions
34
.github/release.yml
vendored
34
.github/release.yml
vendored
|
|
@ -1,34 +0,0 @@
|
||||||
name: 📦 Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
name: 🔖 GitHub Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: 📥 Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: 🧪 Version anzeigen
|
|
||||||
run: |
|
|
||||||
echo "Tag: ${{ github.ref_name }}"
|
|
||||||
|
|
||||||
- name: 📜 Release erstellen aus CHANGELOG
|
|
||||||
uses: softprops/action-gh-release@v2
|
|
||||||
with:
|
|
||||||
tag_name: ${{ github.ref_name }}
|
|
||||||
name: Release ${{ github.ref_name }}
|
|
||||||
body_path: .github/release_notes.md
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: 📝 Release Notes aus CHANGELOG extrahieren
|
|
||||||
run: |
|
|
||||||
version="${{ github.ref_name }}"
|
|
||||||
awk "/## \[$version\]/,/^## \[/" CHANGELOG.md | head -n -1 > .github/release_notes.md || true
|
|
||||||
|
|
||||||
39
.github/workflows/release.yml
vendored
Normal file
39
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
name: 🚀 GitHub Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create_release:
|
||||||
|
name: 📦 GitHub Release erstellen
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: 📥 Repository klonen
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 🧪 Python vorbereiten
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
|
||||||
|
- name: 📝 Release Notes aus CHANGELOG extrahieren
|
||||||
|
id: changelog
|
||||||
|
run: |
|
||||||
|
VERSION=${GITHUB_REF#refs/tags/}
|
||||||
|
echo "📌 Version: $VERSION"
|
||||||
|
CONTENT=$(awk "/## \[?$VERSION\]?/,/## \[/" CHANGELOG.md | sed '1d;$d')
|
||||||
|
echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
|
||||||
|
echo "$CONTENT" >> $GITHUB_ENV
|
||||||
|
echo "EOF" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: 🚀 GitHub Release erstellen
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
name: ${{ github.ref_name }}
|
||||||
|
body: ${{ env.RELEASE_BODY }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
## [v1.4.6] – 2025-07-07
|
## [v1.4.6] – 2025-07-07
|
||||||
|
|
||||||
### 💡 Neue Funktionen
|
### 💡 Neue Funktionen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue