Skip to content

Commit 64bf755

Browse files
committed
fix(ci): package eject_idb CLI in releases
The CLI is deployed by CMake to $IDASDK/bin (RUNTIME_OUTPUT_DIRECTORY), not under build/, so the previous 'find build' copy step silently found nothing and '|| true' hid the failure. Releases shipped plugin-only. Copy the CLI from $IDASDK/bin and add a verify step that fails the job if either the plugin or CLI is missing from the package.
1 parent c1a52e9 commit 64bf755

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,18 @@ jobs:
5858
# Copy plugin
5959
find "${IDASDK}/src/bin/plugins" -name "eject_plugin.${{ matrix.plugin_ext }}" -exec cp {} dist/ \; 2>/dev/null || \
6060
find build -name "eject_plugin.${{ matrix.plugin_ext }}" -exec cp {} dist/ \;
61-
# Copy executable
62-
find build -name "eject_idb${{ matrix.exe_ext }}" -exec cp {} dist/ \; 2>/dev/null || true
61+
# Copy executable (CMake deploys it to $IDASDK/bin, not build/)
62+
cp "${IDASDK}/bin/eject_idb${{ matrix.exe_ext }}" dist/ \
63+
|| find build -name "eject_idb${{ matrix.exe_ext }}" -exec cp {} dist/ \;
6364
# Copy docs
6465
[ -f README.md ] && cp README.md dist/
6566
67+
- name: Verify package contents
68+
shell: bash
69+
run: |
70+
test -f "dist/eject_plugin.${{ matrix.plugin_ext }}"
71+
test -f "dist/eject_idb${{ matrix.exe_ext }}"
72+
6673
- name: Create archive
6774
shell: bash
6875
run: |

0 commit comments

Comments
 (0)