Fehler in release.yml beseitigt

This commit is contained in:
Michael Otto
2026-03-03 13:50:17 +01:00
parent a6837e5fd2
commit 5f756be077

View File

@@ -60,28 +60,28 @@ jobs:
- name: Changelog einlesen
id: changelog
run: |
cd repo
run: |
cd repo
# Aktueller Block = alles vor dem ersten ---
CURRENT=$(sed '/^---/Q' changelog.txt)
# Aktueller Block = alles vor dem ersten ---
CURRENT=$(sed '/^---/Q' changelog.txt)
# Vollständige Historie für Gitea Release Body
# Aktuelle Version aus Tag voranstellen
VERSION="${{ steps.releaseinfo.outputs.version }}"
FULL=$(printf "## %s\n%s\n\n%s" \
"$VERSION" \
"$CURRENT" \
"$(sed '1,/^---/d' changelog.txt)")
# Vollständige Historie für Gitea Release Body
# Aktuelle Version aus Tag voranstellen
VERSION="${{ steps.releaseinfo.outputs.version }}"
FULL=$(printf "## %s\n%s\n\n%s" \
"$VERSION" \
"$CURRENT" \
"$(sed '1,/^---/d' changelog.txt)")
# Für GITHUB_OUTPUT: Newlines escapen
echo "current<<EOF" >> $GITHUB_OUTPUT
echo "$CURRENT" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
# Für GITHUB_OUTPUT: Newlines escapen
echo "current<<EOF" >> $GITHUB_OUTPUT
echo "$CURRENT" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
echo "full<<EOF" >> $GITHUB_OUTPUT
echo "$FULL" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
echo "full<<EOF" >> $GITHUB_OUTPUT
echo "$FULL" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: metadata.txt erzeugen
run: |