From e2fffbb13143d7ba6097173855610dfe5f734984 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 31 Mar 2021 17:26:12 +0100 Subject: [PATCH] Append version to uP .uf2 --- .github/workflows/micropython.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index 92ba618d..6b4c18cd 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -9,6 +9,7 @@ on: env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release + RELEASE_FILE: ${{github.event.repository.name}}-micropython-${{github.event.release.tag_name}}.uf2 jobs: build: @@ -73,5 +74,5 @@ jobs: with: asset_path: micropython/ports/rp2/build/firmware.uf2 upload_url: ${{github.event.release.upload_url}} - asset_name: pimoroni-pico-micropython.uf2 + asset_name: ${{env.RELEASE_FILE}} asset_content_type: application/octet-stream