Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix release notes extraction in workflow
rcourtman99bc7d0593c5
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex be23c4dfd9..e03f9bd255 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -174,8 +174,15 @@ jobs:echo "Comparing v${{ inputs.version }} with ${PREVIOUS_TAG}..."- # Generate notes and capture output- RELEASE_NOTES=$(./scripts/generate-release-notes.sh ${{ inputs.version }} "${PREVIOUS_TAG}" 2>&1 | sed -n '/^Generated release notes:/,/^━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━$/{ /^Generated release notes:/d; /^━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━$/d; p; }')+ # Generate notes - script writes output between separator lines+ # We need to capture everything between the separators+ TEMP_OUTPUT=$(mktemp)+ ./scripts/generate-release-notes.sh ${{ inputs.version }} "${PREVIOUS_TAG}" > "$TEMP_OUTPUT" 2>&1++ # Extract notes between separator lines (everything between the two ━━━ lines)+ RELEASE_NOTES=$(awk '/^Generated release notes:/{flag=1;next}/^━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━$/{if(flag==1){flag=2}else if(flag==2){flag=3}}flag==2' "$TEMP_OUTPUT")++ rm -f "$TEMP_OUTPUT"# Save to output (escape for GitHub Actions multiline)echo "RELEASE_NOTES<<EOF" >> $GITHUB_OUTPUT