forked from AG_QGIS/Plugin_Test_Action
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f0e6a9978 | ||
|
|
5f756be077 |
@@ -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: |
|
||||
@@ -135,7 +135,7 @@ jobs:
|
||||
|
||||
echo "zip_name=${ZIP_NAME}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Gitea‑Release erstellen
|
||||
- name: Gitea-Release erstellen
|
||||
id: create_release
|
||||
run: |
|
||||
TAG="${{ github.ref_name }}"
|
||||
|
||||
Reference in New Issue
Block a user