native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Preserve appcast history for cumulative changelogs

Fetch existing appcast.xml before running generate_appcast so it
merges new release with existing entries. Keep last 10 versions.

khoi 31a8d440 0b05989b

+7 -2
+7 -2
.github/workflows/release.yml
··· 299 299 with: 300 300 name: release-notes 301 301 path: build 302 - - run: | 302 + - name: Generate appcast with history 303 + run: | 304 + set -euo pipefail 303 305 NOTES_FILE=build/release-notes.txt 304 306 STAGING=$(mktemp -d) 305 307 ARCHIVE=build/supacode.app.zip ··· 307 309 ARCHIVE_BASE="${ARCHIVE_BASE%.zip}" 308 310 cp "$ARCHIVE" "$STAGING/" 309 311 cp "$NOTES_FILE" "$STAGING/$ARCHIVE_BASE.txt" 310 - printf "%s" "$SPARKLE_PRIVATE_KEY" | tr -d '\r\n\t ' | ./bins/generate_appcast --download-url-prefix "https://supacode.sh/download/$TAG/" --embed-release-notes --ed-key-file - "$STAGING" 312 + 313 + curl -fsSL "https://supacode.sh/download/latest/appcast.xml" -o "$STAGING/appcast.xml" || true 314 + 315 + printf "%s" "$SPARKLE_PRIVATE_KEY" | tr -d '\r\n\t ' | ./bins/generate_appcast --download-url-prefix "https://supacode.sh/download/$TAG/" --embed-release-notes --maximum-versions 10 --ed-key-file - "$STAGING" 311 316 cp "$STAGING/appcast.xml" build/appcast.xml 312 317 - uses: actions/upload-artifact@v4 313 318 with: