Skip to content
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

Add GitHub Action for firmware releases #34

Open
TokenRat opened this issue Sep 10, 2024 · 0 comments
Open

Add GitHub Action for firmware releases #34

TokenRat opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TokenRat
Copy link
Collaborator

TokenRat commented Sep 10, 2024

Your feature request

It would be nice, if we could automatically release the firmware binary on GitHub. GitHub actions would allow us to compile and push the blob onto GitHub.

Detailed outline of the tasks:

  • GitHub workflow called 'release' that reacts on tags with the RegEx ^v\d{4}.[0-9][0-9].[0-9][0-9].*
  • Builds the firmware. See the existing 'test' workflow
  • Creates a 'Draft Release' on GitHub titled with the tag (which will be e.g. v2024.09.13)
  • collects the following files from .pio/build/esp32-s3-devkitc-1 and prefixes each with 'ef28badge-': firmware.bin, bootloader.bin, partitions.bin
  • Write a .json file that contains the fields 'name' (always 'Eurofurence official', 'date' (current date), 'version' (the tag) and maybe 'URL', where we can put the 'will-be' url of the download to firmware.bin in.
  • Attaches these files to the draft release.

Anyone up for the task?

@TokenRat TokenRat added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant