From d1f86eb6a40620f9ada93eb68250f966d97040e9 Mon Sep 17 00:00:00 2001 From: VU3ESV Date: Tue, 2 Jun 2026 16:27:37 +0200 Subject: [PATCH] fix(release): don't wipe dist/ when packaging the .radioplugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit make-radioplugin.sh did `rm -rf dist`, which in the release pipeline deleted the standalone .app/.dmg built moments earlier by build-app.sh/make-dmg.sh — failing the checksum step and aborting the whole release (so the #10 merge cut no release). The script now only ensures dist/ exists and overwrites its own package, leaving the .dmg in place. The standalone app release is unchanged; the .radioplugin is purely an additional artifact alongside it. Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/make-radioplugin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/make-radioplugin.sh b/scripts/make-radioplugin.sh index 8d55b8a..513ed06 100755 --- a/scripts/make-radioplugin.sh +++ b/scripts/make-radioplugin.sh @@ -36,8 +36,10 @@ STAGE="$(mktemp -d)" cp "Xcode/Extension/plugin.json" "$STAGE/plugin.json" cp -R "$APPEX" "$STAGE/" -rm -rf "$DIST" +# Only manage our own package — do NOT wipe $DIST, which in a release pipeline also +# holds the standalone .app/.dmg built by build-app.sh / make-dmg.sh. mkdir -p "$DIST" +rm -f "$PKG" PKG_ABS="$PWD/$PKG" # plugin.json at the archive ROOT (what PackageInstaller looks for first); --norsrc # --noextattr keeps the zip clean (no __MACOSX AppleDouble entries that would add a