From 9920516f52c1c7bb803b65263bc46486b7b16a33 Mon Sep 17 00:00:00 2001 From: MarcelineVPQ Date: Sun, 24 May 2026 01:44:32 -0600 Subject: [PATCH] ci(release): stop publishing the debug UF2 as a release download MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The debug build (ENABLE_SERIAL=ON) compiles out tud_connect/disconnect and enumerates as a serial console, not a working HID/audio bridge — an end user who downloads it gets a non-functional dongle. Keep it buildable on demand (-DENABLE_SERIAL=ON) and in build.yml PR CI for compile coverage, but don't ship it on the public release page. Releases now upload the standard UF2 only. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bb3f54..55e6906 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,16 +93,11 @@ jobs: mkdir -p artifacts cp build/standard/ds5-bridge-oled.uf2 "artifacts/ds5-bridge-oled-${{ github.event.release.tag_name }}.uf2" - - name: Build Debug firmware - run: | - cmake -S . -B build/debug -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DPICO_SDK_PATH="$PICO_SDK_PATH" \ - -DENABLE_SERIAL=ON \ - -DENABLE_VERBOSE=ON \ - -DVERSION="$FIRMWARE_VERSION" - cmake --build build/debug --target ds5-bridge - cp build/debug/ds5-bridge-oled.uf2 "artifacts/ds5-bridge-oled-debug-${{ github.event.release.tag_name }}.uf2" + # The debug build (ENABLE_SERIAL=ON) compiles out tud_connect/disconnect and + # comes up as a serial console rather than a working HID/audio bridge — a + # developer diagnostic, not an end-user UF2. It is NOT published as a release + # download (footgun) — build it on demand with -DENABLE_SERIAL=ON, or use the + # PR-CI compile in build.yml. See CHANGELOG/CLAUDE.md. - name: Compute UF2 checksums + append to release notes env: