Skip to content

Configure Windows release tasks to include firmware in generated package #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented May 17, 2025

The tool performs three distinct operations:

  • Check the board's operating system version, and if outdated flash the new version.
  • Check the board's BLE firmware version, and if outdated flash the new version.
  • Flash the user application binary.

For this reason, the release package must contain the operating system and BLE firmware files in addition to the tool executable. These files are stored in subfolders under the firmwares folder of the repository.

Previously, the zip command used to generate the release packages for Windows hosts was not correctly configured to recurse into the folder when generating the archive. This resulted in the release package only containing an empty folder where the firmware files should have been located. This caused uploads to fail when the target board had an outdated operating system or BLE firmware version.


In order to facilitate the review, I performed a test release with the updated tasks in my fork:

Workflow run: https://github.com/per1234/arduino101load/actions/runs/15080113345

Generated release (you can check the content of the generated release packages by downloading them from the release assets): https://github.com/per1234/arduino101load/releases/tag/0.0.0-rc.3


Fixes #7

The tool performs three distinct operations:

- Check the board's operating system version, and if outdated flash the new version.
- Check the board's BLE firmware version, and if outdated flash the new version.
- Flash the user application binary.

For this reason, the release package must contain the operating system and BLE firmware files in addition to the tool
executable. These files are stored in subfolders under the `firmwares` folder of the repository.

Previously, the `zip` command used to generate the release packages for Windows hosts was not correctly configured to
recurse into the folder when generating the archive. This resulted in the release package only containing an empty
folder where the firmware files should have been located. This caused uploads to fail when the target board had an
outdated operating system or BLE firmware version.
@per1234 per1234 self-assigned this May 17, 2025
@per1234 per1234 added the bug label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firmware files missing from Windows release packages
1 participant