Release-Name mit Channel-Zusatz für pre-releases
All checks were successful
Release Plugin / release (push) Successful in 5s

This commit is contained in:
Michael Otto
2026-03-13 09:36:12 +01:00
parent 3d3dc098d5
commit 541c210bf6

View File

@@ -175,9 +175,15 @@ jobs:
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${GITHUB_REPOSITORY}/releases"
if [[ "$CHANNEL" == "stable" ]]; then
RELEASE_NAME="$VERSION"
else
RELEASE_NAME="$VERSION-$CHANNEL"
fi
JSON=$(jq -n \
--arg tag "$TAG" \
--arg name "$VERSION" \
--arg name "$RELEASE_NAME" \
--arg body "${{ steps.changelog.outputs.current }}" \
--argjson draft "${{ steps.releaseinfo.outputs.draft }}" \
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \