🔖 Release v1.4.5
This commit is contained in:
parent
691c9e00b6
commit
e7d98dba3a
10 changed files with 1322 additions and 147 deletions
34
.github/release.yml
vendored
Normal file
34
.github/release.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue