TinyTapeout / tt-micropython-firmware

TinyTapeout demo pcb's RP2040 functionality
GNU Lesser General Public License v2.1
3 stars 6 forks source link

Create a file with tag name / commit sha in the generated UF2 firmware #3

Closed urish closed 6 months ago

urish commented 6 months ago

This way, people can easily tell which version they have on their demo board. Inside the GitHub action, you can get the tag name from ${{ github.ref_name }}

psychogenic commented 6 months ago

Augmented workflow to:

  1. touch a file with the release tag in the name, so you can just:

    os.listdir() ['config.ini', ... 'release_v0.9.11c', 'shuttle_index.json', ...]

  2. create UF2 files with actual versions, like tt-demo-rp2040-v0.9.11c.uf2